Skip to Content
Special Edition Using XML, Second Edition
book

Special Edition Using XML, Second Edition

by - et al. David Gulbransen
July 2002
Intermediate to advanced
864 pages
22h 32m
English
Que
Content preview from Special Edition Using XML, Second Edition

Why Use a DTD?

We've already discussed that you might want to make use of a DTD to enforce rules in an XML document. That is the generic case for using a DTD. Here are some specific instances in which you may want to use a DTD to create valid XML documents.

Using a Predefined Markup Language

Let's say you are using the Chemical Markup Language (CML) to define some molecular structures in an XML document. The CML is a markup language that has been defined to make it easy to exchange chemical data among chemists. Therefore, it's important that they all utilize the language in the same way. If authors were to apply the CML in different ways, they would not be able to ensure that everyone's CML documents were compatible or made sense. So, this is ...

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.
Start your free trial

You might also like

XML Pocket Reference, 3rd Edition

XML Pocket Reference, 3rd Edition

Simon St. Laurent, Michael Fitzgerald
Essential XML: Beyond Markup

Essential XML: Beyond Markup

Don Box, Aaron Skonnard, John Lam

Publisher Resources

ISBN: 078972748XPurchase book