This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | _xmlnode |
Typedefs | |
typedef enum _XMLNodeType | XMLNodeType |
The valid types for an xmlnode. | |
typedef _xmlnode | xmlnode |
An xmlnode. | |
Enumerations | |
enum | _XMLNodeType { XMLNODE_TYPE_TAG, XMLNODE_TYPE_ATTRIB, XMLNODE_TYPE_DATA } |
The valid types for an xmlnode. More... | |
Functions | |
xmlnode * | xmlnode_new (const char *name) |
Creates a new xmlnode. | |
xmlnode * | xmlnode_new_child (xmlnode *parent, const char *name) |
Creates a new xmlnode child. | |
void | xmlnode_insert_child (xmlnode *parent, xmlnode *child) |
Inserts a node into a node as a child. | |
xmlnode * | xmlnode_get_child (const xmlnode *parent, const char *name) |
Gets a child node named name. | |
xmlnode * | xmlnode_get_child_with_namespace (const xmlnode *parent, const char *name, const char *xmlns) |
Gets a child node named name in a namespace. | |
xmlnode * | xmlnode_get_next_twin (xmlnode *node) |
Gets the next node with the same name as node. | |
void | xmlnode_insert_data (xmlnode *node, const char *data, gssize size) |
Inserts data into a node. | |
char * | xmlnode_get_data (xmlnode *node) |
Gets (escaped) data from a node. | |
char * | xmlnode_get_data_unescaped (xmlnode *node) |
Gets unescaped data from a node. | |
void | xmlnode_set_attrib (xmlnode *node, const char *attr, const char *value) |
Sets an attribute for a node. | |
void | xmlnode_set_attrib_with_prefix (xmlnode *node, const char *attr, const char *prefix, const char *value) |
Sets a prefixed attribute for a node. | |
void | xmlnode_set_attrib_with_namespace (xmlnode *node, const char *attr, const char *xmlns, const char *value) |
Sets a namespaced attribute for a node. | |
const char * | xmlnode_get_attrib (xmlnode *node, const char *attr) |
Gets an attribute from a node. | |
const char * | xmlnode_get_attrib_with_namespace (xmlnode *node, const char *attr, const char *xmlns) |
Gets a namespaced attribute from a node. | |
void | xmlnode_remove_attrib (xmlnode *node, const char *attr) |
Removes an attribute from a node. | |
void | xmlnode_remove_attrib_with_namespace (xmlnode *node, const char *attr, const char *xmlns) |
Removes a namespaced attribute from a node. | |
void | xmlnode_set_namespace (xmlnode *node, const char *xmlns) |
Sets the namespace of a node. | |
const char * | xmlnode_get_namespace (xmlnode *node) |
Returns the namespace of a node. | |
void | xmlnode_set_prefix (xmlnode *node, const char *prefix) |
Sets the prefix of a node. | |
const char * | xmlnode_get_prefix (xmlnode *node) |
Returns the prefix of a node. | |
char * | xmlnode_to_str (xmlnode *node, int *len) |
Returns the node in a string of xml. | |
char * | xmlnode_to_formatted_str (xmlnode *node, int *len) |
Returns the node in a string of human readable xml. | |
xmlnode * | xmlnode_from_str (const char *str, gssize size) |
Creates a node from a string of XML. | |
xmlnode * | xmlnode_copy (const xmlnode *src) |
Creates a new node from the source node. | |
void | xmlnode_free (xmlnode *node) |
Frees a node and all of its children. |
Definition in file xmlnode.h.
|
The valid types for an xmlnode.
|
|
Creates a new node from the source node.
|
|
Frees a node and all of its children.
|
|
Creates a node from a string of XML. Calling this on the root node of an XML document will parse the entire document into a tree of nodes, and return the xmlnode of the root.
|
|
Gets an attribute from a node.
|
|
Gets a namespaced attribute from a node.
|
|
Gets a child node named name.
|
|
Gets a child node named name in a namespace.
|
|
Gets (escaped) data from a node.
|
|
Gets unescaped data from a node.
|
|
Returns the namespace of a node.
|
|
Gets the next node with the same name as node.
|
|
Returns the prefix of a node.
|
|
Inserts a node into a node as a child.
|
|
Inserts data into a node.
|
|
Creates a new xmlnode.
|
|
Creates a new xmlnode child.
|
|
Removes an attribute from a node.
|
|
Removes a namespaced attribute from a node.
|
|
Sets an attribute for a node.
|
|
Sets a namespaced attribute for a node.
|
|
Sets a prefixed attribute for a node.
|
|
Sets the namespace of a node.
|
|
Sets the prefix of a node.
|
|
Returns the node in a string of human readable xml.
|
|
Returns the node in a string of xml.
|