1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
<?xml version="1.0"?>
<!DOCTYPE any [
<!ENTITY x PUBLIC "x" "" NDATA p>
<!ENTITY y PUBLIC "x" "" NDATA p>
<!ENTITY z PUBLIC "x" "" NDATA p>
<!NOTATION p PUBLIC "image/gif">
<!NOTATION q PUBLIC "image/jpeg">
<!NOTATION r PUBLIC "image/png">
<!ELEMENT el EMPTY>
<!ATTLIST el
cdata CDATA #IMPLIED
id ID #IMPLIED
idref IDREF #IMPLIED
idrefs IDREFS #IMPLIED
entity ENTITY #IMPLIED
entities ENTITIES #IMPLIED
nmtoken NMTOKEN #IMPLIED
nmtokens NMTOKENS #IMPLIED
enum (a|b|c) #IMPLIED
notation NOTATION (p|q|r) #IMPLIED
>
<!ELEMENT any ANY>
]>
<any>
<el cdata="a b c"/>
<el cdata=" a b c "/>
<el cdata=" a b c "/>
<el id="A"/>
<el id=" B "/>
<el id=" C "/>
<el idref="C"/>
<el idref=" A "/>
<el idref=" B "/>
<el idrefs="A B C"/>
<el idrefs=" A B C "/>
<el idrefs=" A B C "/>
<el entity="x"/>
<el entity=" x "/>
<el entity=" x "/>
<el entities="x y z"/>
<el entities=" x y z "/>
<el entities=" x y z "/>
<el nmtoken="a"/>
<el nmtoken=" a "/>
<el nmtoken=" a "/>
<el nmtokens="a b c"/>
<el nmtokens=" a b c "/>
<el nmtokens=" a b c "/>
<el enum="a"/>
<el enum=" a "/>
<el enum=" a "/>
<el notation="p"/>
<el notation=" p "/>
<el notation=" p "/>
</any>
|