XML has found many uses in programming tools, for example, configuring servlets with web.xml is MUCH simpler than previous nightmare collections of property files.
For data representation XML offers flexibility in representing hierarchies. It has the great advantage that, if your programming follows best practices, your data can gain new elements without breaking the program.
Lucky you! Java has all you need in the standard library.
The human mind is a dangerous plaything. This tiny ad is pretty safe:
Thread Boost - a very different sort of advertising