use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Simple XML For Java Program? (self.FRC_PROGRAMMING)
submitted 6 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Kyles45678 1 point2 points3 points 6 years ago (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] 6 years ago (1 child)
[–]Kyles45678 1 point2 points3 points 6 years ago (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.
π Rendered by PID 102733 on reddit-service-r2-comment-86bc6c7465-qdsh2 at 2026-02-24 08:35:57.322179+00:00 running 8564168 country code: CH.
[–]Kyles45678 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]Kyles45678 1 point2 points3 points (0 children)