Skip to content

Instantly share code, notes, and snippets.

@pcercuei
Created Jan 26, 2022
Embed
What would you like to do?
#include <libxml/tree.h>
int main(void)
{
xmlDoc *doc;
LIBXML_TEST_VERSION;
doc = xmlReadFile("test.xml", NULL, XML_PARSE_DTDVALID);
if (doc)
xmlFreeDoc(doc);
xmlCleanupParser();
xmlMemoryDump();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment