Using the XML Schema API
As mentioned, XSD is a W3C recommendation that provides the tools you need to define the structure, contents, and semantics of an XML document. Compared to DTDs and XDRs, XSD has two key advantages. First, it is the official W3C recommendation for defining the structure of XML data. Second, it is the newest schema technology, and as such, has been built specifically to fix bugs and flaws in the other schemas (mostly problems with DTDs). And remember, more than an alternative schema technology, XDR is Microsoft’s implementation of an early working draft of the XML Schema specification.
Although no developer can seriously think of denying the significance of XML, many perceive XML as a sort of extraneous entity that lies ...
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