diff --git a/doc/reference.html b/doc/reference.html index a2b3797..4b71439 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -25,7 +25,7 @@
The XML node type.
@@ -33,13 +33,13 @@Name | Description |
---|---|
NOMXML_CUSTOM | Custom data |
NOMXML_ELEMENT | XML element with attributes |
NOMXML_IGNORE | Ignore/throw away node |
NOMXML_INTEGER | Integer value |
NOMXML_OPAQUE | Opaque string |
NOMXML_REAL | Real value |
NOMXML_TEXT | Text fragment |
MXML_CUSTOM | Custom data |
MXML_ELEMENT | XML element with attributes |
MXML_IGNORE | Ignore/throw away node |
MXML_INTEGER | Integer value |
MXML_OPAQUE | Opaque string |
MXML_REAL | Real value |
MXML_TEXT | Text fragment |
Add a node to a tree. @@ -120,7 +120,7 @@ mxmlAdd(
Nothing.
-Delete a node and all of its children. @@ -142,7 +142,7 @@ mxmlDelete(
Nothing.
-Get an attribute. @@ -166,7 +166,7 @@ mxmlElementGetAttr(
Attribute value or NULL
-Set an attribute. @@ -194,7 +194,7 @@ mxmlElementSetAttr(
Nothing.
-Add a callback to convert entities to Unicode.
@@ -208,7 +208,7 @@ mxmlEntityAddCallback(void);0 on success, -1 on failure
-Get the name that corresponds to the character value. @@ -229,7 +229,7 @@ mxmlEntityGetName(
Entity name or NULL
-Get the character corresponding to a named entity. @@ -251,7 +251,7 @@ mxmlEntityGetValue(
Character value or -1 on error
-Remove a callback.
@@ -265,7 +265,7 @@ mxmlEntityRemoveCallback(void);Nothing.
-Find the named element. @@ -303,7 +303,7 @@ mxmlFindElement(
Element node or NULL
-Delete an index.
@@ -322,7 +322,7 @@ mxmlIndexDelete(Nothing.
-Return the next node in the index. @@ -343,7 +343,7 @@ mxmlIndexEnum(
Next node or NULL if there is none
-Find the next matching node. @@ -371,7 +371,7 @@ mxmlIndexFind(
Node or NULL if none found
-Create a new index. @@ -400,7 +400,7 @@ mxmlIndexNew(
New index
-Reset the enumeration/find pointer in the index and @@ -423,7 +423,7 @@ mxmlIndexReset(
First node or NULL if there is none
-Load a file descriptor into an XML node tree. @@ -455,7 +455,7 @@ mxmlLoadFd(
First node or NULL if the file could not be read.
-Load a file into an XML node tree. @@ -487,7 +487,7 @@ mxmlLoadFile(
First node or NULL if the file could not be read.
-Load a string into an XML node tree. @@ -519,7 +519,7 @@ mxmlLoadString(
First node or NULL if the string has errors.
-Create a new CDATA node. @@ -545,7 +545,7 @@ mxmlNewCDATA(
New node
-Create a new custom data node. @@ -571,7 +571,7 @@ mxmlNewCustom(
New node
-Create a new element node. @@ -596,7 +596,7 @@ mxmlNewElement(
New node
-Create a new integer node. @@ -621,7 +621,7 @@ mxmlNewInteger(
New node
-Create a new opaque string. @@ -647,7 +647,7 @@ mxmlNewOpaque(
New node
-Create a new real number node. @@ -672,7 +672,7 @@ mxmlNewReal(
New node
-Create a new text fragment node. @@ -701,7 +701,7 @@ mxmlNewText(
New node
-Create a new formatted text fragment node. @@ -732,7 +732,7 @@ mxmlNewTextf(
New node
-Remove a node from its parent. @@ -754,7 +754,7 @@ mxmlRemove(
Nothing.
-Save an XML node tree to an allocated string. @@ -785,7 +785,7 @@ mxmlSaveAllocString(
Allocated string or NULL
-Save an XML tree to a file descriptor. @@ -812,7 +812,7 @@ mxmlSaveFd(
0 on success, -1 on error.
-Save an XML tree to a file. @@ -839,7 +839,7 @@ mxmlSaveFile(
0 on success, -1 on error.
-Save an XML node tree to a string. @@ -872,7 +872,7 @@ mxmlSaveString(
Size of string
-Set the element name of a CDATA node. @@ -895,7 +895,7 @@ mxmlSetCDATA(
0 on success, -1 on failure
-Set the data and destructor of a custom data node. @@ -918,7 +918,7 @@ mxmlSetCustom(
0 on success, -1 on failure
-Set the handling functions for custom data. @@ -945,7 +945,7 @@ mxmlSetCustomHandlers(
Nothing.
-Set the name of an element node. @@ -968,7 +968,7 @@ mxmlSetElement(
0 on success, -1 on failure
-Set the error message callback.
@@ -982,7 +982,7 @@ mxmlSetErrorCallback(void);Nothing.
-Set the value of an integer node. @@ -1005,7 +1005,7 @@ mxmlSetInteger(
0 on success, -1 on failure
-Set the value of an opaque node. @@ -1028,7 +1028,7 @@ mxmlSetOpaque(
0 on success, -1 on failure
-Set the value of a real number node. @@ -1051,7 +1051,7 @@ mxmlSetReal(
0 on success, -1 on failure
-Set the value of a text node. @@ -1076,7 +1076,7 @@ mxmlSetText(
0 on success, -1 on failure
-Set the value of a text node to a formatted string. @@ -1103,7 +1103,7 @@ mxmlSetTextf(
0 on success, -1 on failure
-Walk to the next logical node in the tree. @@ -1130,7 +1130,7 @@ mxmlWalkNext(
Next node or NULL
-Walk to the previous logical node in the tree. @@ -1167,7 +1167,7 @@ mxmlWalkPrev(
An XML element attribute value.
@@ -1183,11 +1183,11 @@ struct mxml_attr_sName | Description |
---|---|
NOname | Attribute name |
NOvalue | Attribute value |
name | Attribute name |
value | Attribute value |
An XML custom value.
@@ -1202,10 +1202,10 @@ struct mxml_custom_sName | Description |
---|---|
NOdata | Pointer to (allocated) custom data |
data | Pointer to (allocated) custom data |
An XML node index.
@@ -1224,14 +1224,14 @@ struct mxml_index_sName | Description |
---|---|
NOalloc_nodes | Allocated nodes in index |
NOattr | Attribute used for indexing or NULL |
NOcur_node | Current node |
NOnodes | Node array |
NOnum_nodes | Number of nodes in index |
alloc_nodes | Allocated nodes in index |
attr | Attribute used for indexing or NULL |
cur_node | Current node |
nodes | Node array |
num_nodes | Number of nodes in index |
An XML node.
@@ -1252,16 +1252,16 @@ struct mxml_node_sName | Description |
---|---|
NOchild | First child node |
NOlast_child | Last child node |
NOnext | Next node under same parent |
NOparent | Parent node |
NOprev | Previous node under same parent |
NOtype | Node type |
NOvalue | Node value |
child | First child node |
last_child | Last child node |
next | Next node under same parent |
parent | Parent node |
prev | Previous node under same parent |
type | Node type |
value | Node value |
An XML text value.
@@ -1277,11 +1277,11 @@ struct mxml_text_sName | Description |
---|---|
NOstring | Fragment string |
NOwhitespace | Leading whitespace? |
string | Fragment string |
whitespace | Leading whitespace? |
An XML element value.
@@ -1298,9 +1298,9 @@ struct mxml_value_sName | Description |
---|---|
NOattrs | Attributes |
NOname | Name of element |
NOnum_attrs | Number of attributes |
attrs | Attributes |
name | Name of element |
num_attrs | Number of attributes |
An XML element attribute value.
@@ -1325,7 +1325,7 @@ struct mxml_value_s typedef struct mxml_attr_s mxml_attr_t; -Custom data load callback function
@@ -1334,7 +1334,7 @@ typedef struct mxml_attr_s mxml_attr_t; typedef int (*mxml_custom_load_cb_t)(mxml_node_t *, const char *); -Custom data save callback function
@@ -1343,7 +1343,7 @@ typedef int (*mxml_custom_load_cb_t)(mxml_node_t *, c typedef char * (*mxml_custom_save_cb_t)(mxml_node_t *); -An XML custom value.
@@ -1352,7 +1352,7 @@ typedef char * (*mxml_custom_save_cb_t)(mxml_node_t * typedef struct mxml_custom_s mxml_custom_t; -An XML element value.
@@ -1361,7 +1361,7 @@ typedef struct mxml_custom_s mxml_custom_t; typedef struct mxml_value_s mxml_element_t; -An XML node index.
@@ -1370,7 +1370,7 @@ typedef struct mxml_value_s mxml_element_t; typedef struct mxml_index_s mxml_index_t; -An XML node.
@@ -1379,7 +1379,7 @@ typedef struct mxml_index_s mxml_index_t; typedef struct mxml_node_s mxml_node_t; -An XML text value.
@@ -1388,7 +1388,7 @@ typedef struct mxml_node_s mxml_node_t; typedef struct mxml_text_s mxml_text_t; -An XML node value.
@@ -1402,7 +1402,7 @@ typedef union mxml_value_u mxml_value_t;An XML node value.
@@ -1422,12 +1422,12 @@ union mxml_value_uName | Description |
---|---|
NOcustom | Custom data |
NOelement | Element |
NOinteger | Integer number |
NOopaque | Opaque string |
NOreal | Real number |
NOtext | Text fragment |
custom | Custom data |
element | Element |
integer | Integer number |
opaque | Opaque string |
real | Real number |
text | Text fragment |