| Workshops --> XML --> Demo --> dtd.html |
|---|
![]() |
|
A DTD defines the components of an XML document and specifies conditions for their use
It determines what is required and what is optional in the document
It defines the order in which elements are used and how they will be nested in the hierarchy
DTDs can include element and attribute declarations, entities, notations, comments, and processing instructions
|
<?XML version="1.0" standalone="yes"?> |
<-- This is the embedded DTD |
Now let's take it apart
|
||||||||||||||||||||||||
| Page by Howard Rosenbaum | |
| Find me at hrosenba@indiana.edu | You are here: http://www.slis.indiana.edu/hrosenba/www/Workshops/XML/Demo/dtd.html |