W3C XML Data Models

XML documents follow the syntax rules of well-formedness but also represent data objects that have a hierarchical structure. The hierarchical structure must exist for each XML document, given that there is a document entity within which the prolog (if it exists), the document element, and all other elements exist. The simplest hierarchy for a well-formed XML document is a document entity with a single document element contained inside it.

The World Wide Web Consortium has produced three families of specifications that express, in different ways, the logical structure of an XML document: the Document Object Model, the XML Path Language, and the XML Information Set.

The Document Object Model

The Document Object Model (DOM) ...

Get Sams Teach Yourself XML in 10 Minutes 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.