FILE *File to write toCallback function
Add a node to a tree.mxml_node_t *Parent node
intWhere to add
mxml_node_t *Child node for where
mxml_node_t *Node to add
Delete a node and all of its children.mxml_node_t *Node
Attribute value or NULLconst
char *
Get an attribute.mxml_node_t *Element node
const char *Name of attribute
Set an attribute.mxml_node_t *Element node
const char *Name of attribute
const char *Attribute value
Element node or NULLmxml_node_t
*
Find the named element.mxml_node_t *Current node
mxml_node_t *Top node
const char *Element name or NULL for any
const char *Attribute name, or NULL for none
const char *Attribute value, or NULL for any
intDescend into tree?
First nodemxml_node_t
*
Load a file into an XML node tree.mxml_node_t *Top node
FILE *File to read from
mxml_type_tCallback function
New nodemxml_node_t
*
Create a new element node.mxml_node_t *Parent node
const char *Name of element
New nodemxml_node_t
*
Create a new integer node.mxml_node_t *Parent node
intInteger value
New nodemxml_node_t
*
Create a new opaque string.mxml_node_t *Parent node
const char *Opaque string
New nodemxml_node_t
*
Create a new real number node.mxml_node_t *Parent node
doubleReal number value
New nodemxml_node_t
*
Create a new text fragment node.mxml_node_t *Parent node
intLeading whitespace?
const char *String
Remove a node from its parent.mxml_node_t *Node to remove
0 on success, -1 on errorint
Save an XML tree to a file.mxml_node_t *Node to write
FILE *File to write to
intWhitespace callback
Next node or NULLmxml_node_t
*
Walk to the next logical node in the tree.mxml_node_t *Current node
mxml_node_t *Top node
intDescend into tree?
Previous node or NULLmxml_node_t
*
Walk to the previous logical node in the tree.mxml_node_t *Current node
mxml_node_t *Top node
intDescend into tree?
typedef struct mxml_node_str
mxml_node_t *Current node
mxml_node_t *Parent nodeNode type
const char *String to writeFile to write to
int(*cb)(mxml_node_t *int) intWhere valueCurrent column