XML-LANG: DTDs (1/2)
Element Declarations - name and content model
- <!ELEMENT email (from, to+, cc*, subject, body, sig?) ><!ELEMENT body (#PCDATA | image)* ><!ELEMENT image EMPTY >
- <!ELEMENT node (desc, node*)><!ELEMENT desc (#PCDATA)>
Attribute Declarations - which elements may have what attributes, default and possible values
- <!ATTLIST joke name ID #required label CDATA #implied status ( funny | notfunny ) ‘funny’ >