6 @brief Utility routines for XML documents.
9 #include <opensrf/osrf_json.h>
10 #include <libxml/parser.h>
11 #include <libxml/tree.h>
17 jsonObject* xmlDocToJSON(xmlDocPtr doc);
19 void recurse_doc( xmlNodePtr node );
21 char* xmlDocToString(xmlDocPtr doc, int full);
23 const char* xmlSaxAttr( const xmlChar** atts, const char* name );
25 int xmlAddAttrs( xmlNodePtr node, const xmlChar** atts );