previous
|
start
|
next
Document Type Definitions
A DTD is a set of rules for correctly formed documents of a particular type
Describes the legal attributes for each element type
Describes the legal child elements for each element type
Legal child elements are described with an ELEMENT rule
<!ELEMENT items (item*)>
The items element (the root in this case) can have 0 or more item elements
Definition of an item node
<! ELEMENT item (product, quantity)>
Children of the item node must be a product node followed by a quantity node
previous
|
start
|
next