O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

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

Describing the XML Document: The DTD

As mentioned previously, the XML document is both self-describing and self-validating. The degree to which the document provides these features can vary, depending partly on whether or not the document identifies a corresponding DTD. The DTD describes the type, order, frequency, and relationship of elements in an XML document. In the current release of the XML-DTD specification, data types are limited to variations of character data.

An XML document is composed of elements in a specific order or structure, a hierarchy. These elements may optionally contain attributes that further describe the elements. The element may also contain corresponding values. We would therefore expect the DTD to allow some or all ...

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