XML Concepts (2)

XML Schemas

  • Allow constraints to be applied on XML attributes
  • Express shared vocabularies and allow machines to carry out rules made by people
  • Richer than DTDs
  • See <http://www.w3.org/XML/Schema>

XSLT

  • A language for transforming XML from one DTD to another, or to another format (e.g. PDF)
  • Written in XML
  • Knows about XML (e.g. tree structures, etc.)
  • See <http://www.xslt.com/>

Data Formats