J2EEOnline J2EE

DTD Basics   «Prev  Next»
Lesson 11

Simple and Complex DTD Conclusion

This module discussed how 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.

Learning objectives

Having completed this module, you should now be able to:
  1. Understand the value of using a DTD with XML documents
  2. Consider the concept of a valid XML document
  3. Examine a simple DTD
  4. Declare basic elements in a DTD
  5. Write element declarations for mixed content and declare empty elements
  6. Reference DTD declarations in XML
  7. Create a DTD file which works with a separate XML file
  8. Create a DTD from an existing set of tags
  9. Specify the considerations involved in creating a DTD
  10. Create a simple DTD for a simple XML file
  11. Create a DTD describing elements containing mixed content

Glossary terms

This module introduced the following terms:
  1. Document type declaration: The document type declaration names the document type being used and links to or includes its definition, the DTD.
  2. Infrastructure services
  3. Mixed content
  4. 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.
  5. Root element
The next module discusses how to build the DTD.

DTD-XML-Document - Quiz

Click the Quiz link below to check your understanding of DTDs.
DTD-XML-Document - Quiz