Chapter 4. Structuring XML Documents with DTDs
by David Gulbransen
In this chapter
Well-Formed and Valid XML
Document Type Definition Basics
Why Use a DTD?
DTD Structures
DTDs and XML Documents
Element Declarations in DTDs
Element Content Basics
Attribute Declarations
Entity Declarations
Parameter Entities
Notations and Processing Instructions
Notations
Processing Instructions
Comments
Internal Versus External DTD
A Valid XML Example: Constructing the DTD
Additional Resources
Roadmap
Get Special Edition Using XML, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.