cours0708/A63/xml/exercices/letter.dtd~

19 lines
591 B
DTD
Raw Normal View History

<!DOCTYPE letter>
<!ELEMENT letter (contact*, salutation, paragraphe*, closing, signature)>
<!ELEMENT contact (name, address1, address2?, city, state, zip, phone, flag) >
<!ATTLIST contact type (from|to)>
<!ELEMENT name ( #PCDATA )>
<!ELEMENT address1 ( #PCDATA )>
<!ELEMENT address2 ( #PCDATA )>
<!ELEMENT city ( #PCDATA )>
<!ELEMENT state ( #PCDATA )>
<!ELEMENT zip ( #PCDATA )>
<!ELEMENT phone ( #PCDATA )>
<!ELEMENT flag EMPTY>
<!ATTLIST flag gender (M|F)>
<!ELEMENT salutation>
<!ELEMENT paragraphe ( #PCDATA | bold)>
<!ELEMENT bold ( #PCDATA )>
<!ELEMENT closing>
<!ELEMENT signature>