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 ...
Get Applied XML Programming for Microsoft® .NET 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.