Modeling Data with XML Schemas
XML Schema is a new approach to defining the schema for XML documents that uses an XML vocabulary called XML-Data. As of this writing, XML-Data is at the working draft stage in the W3C, which means that a formal recommendation will hopefully follow soon. Microsoft was eager to offer an alternative to DTDs and decided to support a subset of the XML-Data working draft in Internet Explorer 5.0. This subset of XML-Data is what Microsoft is calling XML Schema.
An XML Schema is very similar in purpose to a DTD, in that it is used to establish the schema of a class of XML documents. Like DTDs, XML Schemas describe elements and their content models so that documents can be validated. However, XML Schemas go several steps ...
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