1 <?xml version="1.0"?> 2 <!DOCTYPE doc [ 3 <!ELEMENT doc (tst)*> 4 <!ELEMENT tst (#PCDATA)> 5 <!ATTLIST tst a NMTOKENS #IMPLIED> 6 <!ATTLIST tst b CDATA #IMPLIED> 7 <!ENTITY d "
"> 8 <!ENTITY a "
"> 9 <!ENTITY da "
"> 10 ]> 11 <doc> 12 <tst a="xyz" b=" xyz"/> 13 <tst a="A B" b=" A B "/> 14 <tst a=" A B " b=" A B "/> 15 <tst a="x y" b=" x y "/> 16 <tst a="a b" b=" a b "/> 17 <tst a="a b" b=" a b "/> 18 </doc> 19