Converting DTDs to Schemas

Because XML Schema points the way to the future of XML document description and validation, you may want to consider converting existing DTDs to schemas at some point. Fortunately, XML Schema provides a superset of the functionality offered by DTDs, so there is nothing lost when you move from a DTD to a schema. In fact, migrating a DTD to an XML Schema gives you an opportunity to improve a document description by supporting XML Schema features such as rich data types.

Note

Although technically DTDs and XML Schemas are both considered document schemas, this discussion and the remainder of this chapter use the term schema to refer to an XML Schema document.

To successfully create a schema from a DTD, you must assess ...

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.