libxml2
<?xml version="1.0"?> <!-- comment before the DTD --> <!DOCTYPE doc [ <!ELEMENT doc ANY> ]> <!-- comment after the DTD --> <doc/>