Encyclopedia of Database Systems

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

XML Schema

  • Michael Rys
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_794

Synonyms

W3C XML schema; XML schema

Definition

XML Schema is a schema language that allows to constrain XML documents and provides type information about parts of the XML document. It is defined in a World Wide Web Consortium recommendation [1, 2, 3].

Key Points

XML Schema is a schema language that allows the constraint of documents and provides type information about parts of the XML document. It is defined in a World Wide Web Consortium recommendation [1, 2, 3]. The current version is 1.0.

Unlike document type descriptions (DTDs) that have been defined in the XML recommendation [4], XML Schema is using an XML based vocabulary to describe the schema constraints.

A schema describes elements and attributes and their content models and types. It provides for complex types that describe the content model of elements and simple types that describe the type of attributes and leaf element nodes. Types can be related to each other in so called derivation hierarchies, either by restricting or...

This is a preview of subscription content, log in to check access.

Recommended Reading

  1. 1.
    XML Schema Part 0: Primer, latest edition. Available at: http://www.w3.org/TR/xmlschema-0/
  2. 2.
    XML Schema Part 1: Structures, latest edition. Available at: http://www.w3.org/TR/xmlschema-1/
  3. 3.
    XML Schema Part 2: Datatypes, latest edition. Available at: http://www.w3.org/TR/xmlschema-2/
  4. 4.
    XML 1.0 Recommendation, latest edition. Available at: http://www.w3.org/TR/xml
  5. 5.
    W3C XML Schema Definition Language (XSDL) 1.1 Part 1: Structures, latest edition. Available at: http://www.w3.org/TR/xmlschema11-1/
  6. 6.
    XQuery 1.0: An XML Query Language, latest edition. Available at: http://www.w3.org/TR/xquery/
  7. 7.
    XQuery 1.0 and XPath 2.0 Data Model (XDM), latest edition. Available at: http://www.w3.org/TR/xpath-datamodel/
  8. 8.
    XML Path Language (XPath) 2.0, latest edition. Available at: http://www.w3.org/TR/xpath20/
  9. 9.
    XSL Transformations (XSLT) Version 2.0, latest edition. Available at: http://www.w3.org/TR/xslt20/
  10. 10.
    XML Schema 1.1 Part 2: Datatypes, latest edition. Available at: http://www.w3.org/TR/xmlschema11-2/

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