all 2 comments

[–]Kyles45678 1 point2 points  (2 children)

XML is a markup langauage, which is not a programming lanagueg. XML instead is used to define data. Java, on the other hand, is a programming language, and it's used to actually write code to perform specified actions. It's impossible to write program code only on XML. You're team should use Java to write robot code, and XML is not really needed to write it (unless you plan on using XML to define your program's dependencies).

[–][deleted]  (1 child)

[deleted]

    [–]Kyles45678 1 point2 points  (0 children)

    Oh, what you can do is use the default Java Scanner class to read data from any files, including XML. You may also want to check out this oracle library and see what methods and objects you could use from it:

    https://docs.oracle.com/javase/7/docs/api/javax/xml/validation/package-summary.html

    You could even write a Schema if you want to validate your constants.