<!DOCTYPE doc [ <!ELEMENT doc (tst*)> <!ELEMENT tst (#PCDATA)> <!ATTLIST tst a NMTOKENS #IMPLIED> <!ATTLIST tst b CDATA #IMPLIED> <!ENTITY d "
"> <!ENTITY a "
"> <!ENTITY da "
"> ]> <doc> <tst a=" xyz" b=" xyz"/> <tst a="&d;&d;A&a; &a;B&da;" b="&d;&d;A&a; &a;B&da;"/> <tst a="

A

B
" b="

A

B
"/> <tst a=" x  y " b=" x  y "/> <tst a=" a b " b=" a b "/> <tst a=" a b " b=" a b "/> </doc>