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>
19 /* turns a doc into a string. string must be deallocated.
20 if 'full', then the entire doc is stringified, otherwise
21 the root node (on down) is stringified */
22 char* xmlDocToString(xmlDocPtr doc, int full);
24 int xmlReplaceDtd(xmlDocPtr doc, char* dtdfile);
26 /* Inline DTD Entity replacement.
27 creates a new doc with the entities replaced, frees the
28 doc provided and returns a new one.
29 Do this and you'll be OK:
30 doc = xmlProcessDtdEntities(doc);
32 xmlDocPtr xmlProcessDtdEntities(xmlDocPtr doc);