XML Schema

Unlike the notion of a DTD, which has been present since the XML 1.0 Recommendation and was inherited from SGML, the W3C XML Schema proposal has not yet reached the stage of being a W3C Recommendation. As of early September 2000, XML Schema was at working draft stage.

An XML Schema, like a DTD, is a document that describes and constrains a set of XML document instances. Because an XML Schema is itself an XML document, it can be manipulated like any other XML document—for example, by an XSLT style sheet or application program. In principle, XML Schema can underpin selective programmatic choices of which elements in a document should be shown to which users.

Given the current status of the W3C draft on XML Schema, all XML Schema implementations ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 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.