24 #include <dds/dds_export.h> 25 #include <dds/dds_inttypes.h> 37 typedef struct _CdxXmlDocument * CDX_XmlDocument;
38 typedef struct _CdxXmlNode * CDX_XmlNode;
40 # define CDX_XML_ELEMENT_NODE 0x0001 41 # define CDX_XML_TEXT_NODE 0x0002 55 CDX_XmlDocument (*read_file)(
const char * filename);
56 CDX_XmlDocument (*parse_data)(
const char * data, int32_t len);
57 CDX_XmlNode (*top_node)(CDX_XmlDocument doc);
58 void (*free_document)(CDX_XmlDocument doc);
61 const char * (*get_name)(CDX_XmlNode node);
62 char * (*get_prop)(CDX_XmlNode node,
const char * prop_name);
63 void (*free_prop)(CDX_XmlNode node,
char * prop );
64 unsigned char (*has_children)(CDX_XmlNode node);
65 CDX_XmlNode (*get_children)(CDX_XmlNode node);
66 CDX_XmlNode (*get_next)(CDX_XmlNode node);
67 unsigned short (*get_type)(CDX_XmlNode node);
68 const char * (*get_content)(CDX_XmlNode node);
Provides a generic XML Parser capability.
Definition: xml_api.h:53
CDX_XmlApi cdx_libxml2_impl
the "dds_libxml2api" library provides this implementation that is based on libxml2 ...
Definition: xml_api.h:75
CDX_XmlApi cdx_xml_impl
the "dds_xml" library provides this internal XML parser implementation
Definition: xml_api.h:80