O'Reilly logo

XML Companion, The, Third Edition by Neil Bradley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DTD features

The SGML standard incorporates the concept of a DTD (a Document Type Definition).

The SGML DTD scheme is similar to, but more complex than the XML DTD mechanism, as it contains additional features. In some cases, these features can be emulated using other techniques.

An SGML DTD and its associated documents can be converted into equivalent XML files, should there be any reason to replace SGML tools with XML tools, or to process, deliver or publish SGML data using XML tools. But it may not always be possible to achieve this without human intervention.

Any content

A content model can simply include the keyword ANY, which indicates that any combination of text and the other elements defined in the DTD can be used in the content.

 <!-- ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required