The amount of hype surrounding XML has been enormous in the computer press over the last couple of years. Yet, perhaps surprisingly, XML on its own can't do anything! XML, at least when narrowly defined as the XML 1.0 Recommendation, is simply a text format and XML documents are merely a succession of character bytes.
So, ways must be found to put this flexible, powerful text format to work.
In Chapter 12, "Parsing and Navigating XML—SAX, DOM, XPath, XPointer, and XLink," you were introduced to the Document Object Model (DOM) and the Simple API for XML (SAX) which, together with an XML processor, transform the character stream in an XML document into a form which programming languages such as Java can manipulate. Both DOM and SAX provide ...