libxml2
1: <?xml version="1.0"?> 2: <!DOCTYPE doc [ 3: <!ATTLIST doc a1 NMTOKENS "1 2"> 4: <!ELEMENT doc (#PCDATA)> 5: ]> 6: <doc/>