Chapter 29. Generating DTDs with DDbE

In This Chapter

To create valid XML documents, you must begin by developing a DTD or XML Schema that establishes the structure of an XML vocabulary. This DTD or XML Schema is then used as the basis for both creating XML documents and validating them. By starting with the DTD or XML Schema, you give yourself the ground rules from which valid documents can be created. However, things don't necessarily have to proceed in this order.

The alphaWorks group at IBM has developed a technology called DDbE (Data Descriptors by Example) that allows you to infer a DTD from a well-formed XML document or document set. Using DDbE, you ...

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.