XML Syntax
This is not an introductory book about XML. I certainly expect that you already have some experience with XML documents. Nonetheless, when writing programs to process XML it's very important that you are crystal clear about the exact terminology used when discussing XML. Therefore I'd like to take a few pages to briefly review the proper terminology for discussing XML, as well as to clarify a few points that are often confused or misunderstood.
XML Documents
The precise meaning of “XML document” is defined by the XML 1.0 specification [http://www.w3.org/TR/REC-xml] published by the W3C. This specification provides a detailed Backus-Naur Form (BNF) grammar defining exactly what is and is not an XML document. Anything that satisfies ...
Get Processing XML with Java™: A Guide to SAX, DOM, JDOM, JAXP, and TrAX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.