1 #ifndef OSRF_JSON_XML_H
2 #define OSRF_JSON_XML_H
4 #ifdef OSRF_JSON_ENABLE_XML_UTILS
8 #include <libxml/globals.h>
9 #include <libxml/xmlerror.h>
10 #include <libxml/parser.h>
11 #include <libxml/tree.h>
12 #include <libxml/xmlmemory.h>
14 #include <opensrf/osrf_json.h>
15 #include <opensrf/utils.h>
16 #include <opensrf/osrf_list.h>
23 * Generates an XML representation of a JSON object */
24 char* jsonObjectToXML( const jsonObject*);
28 * Builds a JSON object from the provided XML
30 jsonObject* jsonXMLToJSONObject(const char* xml);