Chapter 12. Working with XML

 

Perfection is achieved not when you have nothing more to add, but when you have nothing left to take away.

 
 --Antoine de Saint-Exupery

XML, the eXtensible Markup Language, is a reasonably young innovation. It’s just becoming a teenager, but we use it so commonly these days that it’s hard to believe there were times without it. The World Wide Web Consortium (W3C) standardized the first version of XML in 1996.

The widespread use of XML and worldwide adoption of Java took place at about the same time. This may be one of the reasons why the Java platform developed such excellent support for working with XML. Not only are there the built-in SAX and DOM APIs, but many other libraries have appeared over time for parsing and ...

Get Groovy in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.