libxml2
<!DOCTYPE doc [ <!ELEMENT doc (#PCDATA)> <!ATTLIST doc a1 CDATA "v1"> <!ATTLIST doc a1 CDATA "z1"> ]> <doc></doc>