Selected XML Basics
There is an abundance of XML books for becoming well-versed in the topics of XML, DOM, and DTDs. Given that fact, we will confine our rapid review of the anatomy of XML documents to the topics that most directly affect XMLC programming.
XML presents a tree-based view to describe a document: how the document identifies itself, and how it structures its contents. But first, it must introduce itself, its document type, and perform some housekeeping chores to refer to any required resources (such as an externally located DTD).
Document Prolog
An XML document identifies itself with a document prolog located at the first line or lines of the document. The document prolog typically contains two declarations—the XML declaration and ...
Get Enhydra XMLC™ Java™ Presentation Development 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.