XML

XML

Functions

XML * xml_new ()
XML * xml_new_string ()
void xml_delete ()
XMLDocument * xml_get_document ()
char const * xml_get_filename ()
char const * xml_node_get_attribute_value_by_name ()

Types and Values

enum XMLFilter
enum XMLNodeType
struct XMLNodeTag
union XMLNode
  XML

Description

Functions

xml_new ()

XML *
xml_new (XMLPrefs *prefs,
         char const *pathname);

xml_new_string ()

XML *
xml_new_string (XMLPrefs *prefs,
                char const *string,
                size_t length);

xml_delete ()

void
xml_delete (XML *xml);

xml_get_document ()

XMLDocument *
xml_get_document (XML *xml);

xml_get_filename ()

char const *
xml_get_filename (XML *xml);

xml_node_get_attribute_value_by_name ()

char const *
xml_node_get_attribute_value_by_name (XMLNode *node,
                                      char const *name);

Types and Values

enum XMLFilter

Members

XML_FILTER_NONE

   

XML_FILTER_WHITESPACE

   

enum XMLNodeType

Members

XML_NODE_TYPE_TAG

   

XML_NODE_TYPE_DATA

   

XML_NODE_TYPE_ENTITY

   

struct XMLNodeTag

struct XMLNodeTag {
	XMLNodeType type;
	XMLNodeTag * parent;
	char * name;
	XMLAttribute ** attributes;
	size_t attributes_cnt;
	XMLNode ** childs;
	size_t childs_cnt;
};

union XMLNode


XML

typedef struct _XML XML;