This module discussed simple and complex DTDs define the syntax, grammar, and vocabulary of XML documents.
Now that you have learned the basics of the DTD, you are ready to build the DTD.
Having completed this module, you should now be able to:
Understand the value of using a DTD with XML documents
Consider the concept of a valid XML document
Examine a simple DTD
Declare basic elements in a DTD
Write element declarations for mixed content and declare empty elements
Reference DTD declarations in XML
Create a DTD file which works with a separate XML file
Create a DTD from an existing set of tags
Specify the considerations involved in creating a DTD
Create a simple DTD for a simple XML file
Create a DTD describing elements containing mixed content
This module introduced the following terms:
- Document type declaration: The document type declaration names the document type being used and links to or includes its definition, the DTD.
- Infrastructure services
- Mixed content
- PCDATA : PCDATA means parsed character data. Think of character data as the text found between the start tag and the end tag of an XML element.
- Root element
The next module discusses how to build the DTD.
Click the Quiz link below to check your understanding of DTDs.
Dtd-XML-Document - Quiz