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 ...

Get XML Unleashed 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.