8 #include <libxml/parser.h>
9 #include <libxml/globals.h>
10 #include <libxml/xinclude.h>
11 #include <libxml/xmlwriter.h>
12 #include <libxml/xmlreader.h>
14 #include "apachetools.h"
21 /* turns a doc into a string. string must be deallocated.
22 if 'full', then the entire doc is stringified, otherwise
23 the root node (on down) is stringified */
24 char* xmlDocToString(xmlDocPtr doc, int full);
26 int xmlReplaceDtd(xmlDocPtr doc, char* dtdfile);
28 /* Inline DTD Entity replacement.
29 creates a new doc with the entities replaced, frees the
30 doc provided and returns a new one.
31 Do this and you'll be OK:
32 doc = xmlProcessDtdEntities(doc);
34 xmlDocPtr xmlProcessDtdEntities(xmlDocPtr doc);