Encyclopedia of Database Systems

2018 Edition
| Editors: Ling Liu, M. Tamer Özsu

XML Document

  • Michael RysEmail author
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_793


XML document


An XML document is a text document that follows the W3C XML recommendation [1].

Key Points

An XML document is considered well-formed, if it satisfies the XML 1.0 well-formedness constraints of having exactly one top-level XML element, balanced begin- and end-tags, and all the other rules outlined in [1].

It is considered valid, if it validates against a schema language such as the XML DTDs [1] or XML Schema [2].

An XML document is represented as an XML document information item in the XML Information Set [3] and an XML document node in the XPath and XQuery data model [4].


Recommended Reading

  1. 1.
    XML 1.0 Recommendation, latest edition available online at: http://www.w3.org/TR/xml
  2. 2.
    Schema Part 0: Primer, latest edition available online at: http://www.w3.org/TR/xmlschema-0/
  3. 3.
    XML 1.0 Information Set, latest edition available online at: http://www.w3.org/TR/xml-infoset
  4. 4.
    XQuery 1.0 and XPath 2.0 Data Model (XDM), latest edition available online at: http://www.w3.org/TR/xpath-datamodel/

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Microsoft CorporationSammamishUSA

Section editors and affiliations

  • Sihem Amer-Yahia
    • 1
  1. 1.Laboratoire d'Informatique de GrenobleCNRS and LIGGrenobleFrance