libxml2
<!-- comment before the DTD --> <!DOCTYPE doc [ <!ELEMENT doc ANY> ]> <!-- comment after the DTD --> <doc/>