XML DTDs contain only XML entity and element declarations. XML
documents, on the other hand, may contain both XML element
declarations and conventional content that uses those elements to
create a document. This intermingling of content and declarations is
perfectly acceptable to a computer processing an XML document, but it
can get confusing for humans trying to learn about XML. For this
reason, we will focus our attention in this chapter on the XML entity
and element declaration features that you can use to define new tags
and document types. In other words, we are addressing only the DTD
features of XML; the content features mirror the rules and
requirements you already know and use in order to create HTML
documents.
 |  |  |
15. XML |  | 15.3. Understanding XML DTDs |