Summary
This chapter explored the basics of XML data modeling and the two approaches used to describe the structure of XML documents: DTDs and XML Schema. These two data modeling approaches are generally referred to as schemas, a term borrowed from the database world. A schema describes the arrangement of markup and character data within a valid XML document. Schemas aren't required to create well-formed XML documents, but they are absolutely essential for creating valid documents. DTDs originated in SGML and serve as the standard schema mechanism for validating SGML documents. XML Schema is a technology created by Microsoft that is a partial implementation of the XML-Data working draft in the W3C. Although XML Schemas have much more to offer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access