@ -2,12 +2,13 @@
< html xmlns = 'http://www.w3.org/1999/xhtml' xml:lang = 'en' lang = 'en' >
< head >
< title > Documentation< / title >
< meta name = 'creator' content = 'Mini-XML v2.2. 3' / >
< meta name = 'creator' content = 'Mini-XML v2.3' / >
< style > < ! - -
h1, h2, h3, p { font-family: sans-serif; text-align: justify; }
tt, pre a:link, pre a:visited, tt a:link, tt a:visited { font-weight: bold; color: #7f0000; }
pre { font-weight: bold; color: #7f0000; margin-left: 2em; }
span.info { font-weight: bold; padding: 2; color: #ffffff; background: #000000; float: right; }
span.info { font-weight: bold; font-style: italic; color: #ffffff; background: #000000; }
h3 span.info { float: right; }
-->< / style >
< / head >
< body >
@ -22,10 +23,10 @@
<!-- NEW PAGE -->
< h2 > < a name = '_enumerations' > Enumerations< / a > < / h2 >
< ul >
< li > < a href = '#mxml_type_e' > < tt > mxml_type_e< / tt > < / a > < / li >
< li > < a href = '#mxml_type_e' > < tt > mxml_type_e< / tt > < / a > < / li >
< / ul >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_type_e' > mxml_type_e< / a > < / h3 >
< h3 > < a name = 'mxml_type_e' > mxml_type_e< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > The XML node type.< / p >
@ -33,62 +34,62 @@
< p class = 'table' > < table align = 'center' border = '1' width = '80%' >
< thead > < tr > < th > Name< / th > < th > Description< / th > < / tr > < / thead >
< tbody >
< tr > < td > < tt > MXML_CUSTOM< / tt > < / td > < td > Custom data< / td > < / tr >
< tr > < td > < tt > MXML_ELEMENT< / tt > < / td > < td > XML element with attributes< / td > < / tr >
< tr > < td > < tt > MXML_IGNORE< / tt > < / td > < td > Ignore/throw away node< / td > < / tr >
< tr > < td > < tt > MXML_INTEGER< / tt > < / td > < td > Integer value< / td > < / tr >
< tr > < td > < tt > MXML_OPAQUE< / tt > < / td > < td > Opaque string< / td > < / tr >
< tr > < td > < tt > MXML_REAL< / tt > < / td > < td > Real value< / td > < / tr >
< tr > < td > < tt > MXML_TEXT< / tt > < / td > < td > Text fragment< / td > < / tr >
< tr > < td > < tt > MXML_CUSTOM< / tt > < span class = 'info' > Mini-XML 2.1 < / span > < / td > < td > Custom data < / td > < / tr >
< tr > < td > < tt > MXML_ELEMENT< / tt > < / td > < td > XML element with attributes< / td > < / tr >
< tr > < td > < tt > MXML_IGNORE< / tt > < span class = 'info' > Mini-XML 2.3 < / span > < / td > < td > Ignore/throw away node < / td > < / tr >
< tr > < td > < tt > MXML_INTEGER< / tt > < / td > < td > Integer value< / td > < / tr >
< tr > < td > < tt > MXML_OPAQUE< / tt > < / td > < td > Opaque string< / td > < / tr >
< tr > < td > < tt > MXML_REAL< / tt > < / td > < td > Real value< / td > < / tr >
< tr > < td > < tt > MXML_TEXT< / tt > < / td > < td > Text fragment< / td > < / tr >
< / tbody > < / table > < / p >
<!-- NEW PAGE -->
< h2 > < a name = '_functions' > Functions< / a > < / h2 >
< ul >
< li > < a href = '#mxmlAdd' > < tt > mxmlAdd()< / tt > < / a > < / li >
< li > < a href = '#mxmlDelete' > < tt > mxmlDelete()< / tt > < / a > < / li >
< li > < a href = '#mxmlElementGetAttr' > < tt > mxmlElementGetAttr()< / tt > < / a > < / li >
< li > < a href = '#mxmlElementSetAttr' > < tt > mxmlElementSetAttr()< / tt > < / a > < / li >
< li > < a href = '#mxmlEntityAddCallback' > < tt > mxmlEntityAddCallback()< / tt > < / a > < / li >
< li > < a href = '#mxmlEntityGetName' > < tt > mxmlEntityGetName()< / tt > < / a > < / li >
< li > < a href = '#mxmlEntityGetValue' > < tt > mxmlEntityGetValue()< / tt > < / a > < / li >
< li > < a href = '#mxmlEntityRemoveCallback' > < tt > mxmlEntityRemoveCallback()< / tt > < / a > < / li >
< li > < a href = '#mxmlFindElement' > < tt > mxmlFindElement()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexDelete' > < tt > mxmlIndexDelete()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexEnum' > < tt > mxmlIndexEnum()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexFind' > < tt > mxmlIndexFind()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexNew' > < tt > mxmlIndexNew()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexReset' > < tt > mxmlIndexReset()< / tt > < / a > < / li >
< li > < a href = '#mxmlLoadFd' > < tt > mxmlLoadFd()< / tt > < / a > < / li >
< li > < a href = '#mxmlLoadFile' > < tt > mxmlLoadFile()< / tt > < / a > < / li >
< li > < a href = '#mxmlLoadString' > < tt > mxmlLoadString()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewCDATA' > < tt > mxmlNewCDATA()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewCustom' > < tt > mxmlNewCustom()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewElement' > < tt > mxmlNewElement()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewInteger' > < tt > mxmlNewInteger()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewOpaque' > < tt > mxmlNewOpaque()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewReal' > < tt > mxmlNewReal()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewText' > < tt > mxmlNewText()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewTextf' > < tt > mxmlNewTextf()< / tt > < / a > < / li >
< li > < a href = '#mxmlRemove' > < tt > mxmlRemove()< / tt > < / a > < / li >
< li > < a href = '#mxmlSaveAllocString' > < tt > mxmlSaveAllocString()< / tt > < / a > < / li >
< li > < a href = '#mxmlSaveFd' > < tt > mxmlSaveFd()< / tt > < / a > < / li >
< li > < a href = '#mxmlSaveFile' > < tt > mxmlSaveFile()< / tt > < / a > < / li >
< li > < a href = '#mxmlSaveString' > < tt > mxmlSaveString()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetCDATA' > < tt > mxmlSetCDATA()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetCustom' > < tt > mxmlSetCustom()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetCustomHandlers' > < tt > mxmlSetCustomHandlers()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetElement' > < tt > mxmlSetElement()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetErrorCallback' > < tt > mxmlSetErrorCallback()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetInteger' > < tt > mxmlSetInteger()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetOpaque' > < tt > mxmlSetOpaque()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetReal' > < tt > mxmlSetReal()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetText' > < tt > mxmlSetText()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetTextf' > < tt > mxmlSetTextf()< / tt > < / a > < / li >
< li > < a href = '#mxmlWalkNext' > < tt > mxmlWalkNext()< / tt > < / a > < / li >
< li > < a href = '#mxmlWalkPrev' > < tt > mxmlWalkPrev()< / tt > < / a > < / li >
< li > < a href = '#mxmlAdd' > < tt > mxmlAdd()< / tt > < / a > < / li >
< li > < a href = '#mxmlDelete' > < tt > mxmlDelete()< / tt > < / a > < / li >
< li > < a href = '#mxmlElementGetAttr' > < tt > mxmlElementGetAttr()< / tt > < / a > < / li >
< li > < a href = '#mxmlElementSetAttr' > < tt > mxmlElementSetAttr()< / tt > < / a > < / li >
< li > < a href = '#mxmlEntityAddCallback' > < tt > mxmlEntityAddCallback()< / tt > < / a > < / li >
< li > < a href = '#mxmlEntityGetName' > < tt > mxmlEntityGetName()< / tt > < / a > < / li >
< li > < a href = '#mxmlEntityGetValue' > < tt > mxmlEntityGetValue()< / tt > < / a > < / li >
< li > < a href = '#mxmlEntityRemoveCallback' > < tt > mxmlEntityRemoveCallback()< / tt > < / a > < / li >
< li > < a href = '#mxmlFindElement' > < tt > mxmlFindElement()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexDelete' > < tt > mxmlIndexDelete()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexEnum' > < tt > mxmlIndexEnum()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexFind' > < tt > mxmlIndexFind()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexNew' > < tt > mxmlIndexNew()< / tt > < / a > < / li >
< li > < a href = '#mxmlIndexReset' > < tt > mxmlIndexReset()< / tt > < / a > < / li >
< li > < a href = '#mxmlLoadFd' > < tt > mxmlLoadFd()< / tt > < / a > < / li >
< li > < a href = '#mxmlLoadFile' > < tt > mxmlLoadFile()< / tt > < / a > < / li >
< li > < a href = '#mxmlLoadString' > < tt > mxmlLoadString()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewCDATA' > < tt > mxmlNewCDATA()< / tt > < / a > < span class = 'info' > Mini-XML 2.3 < / span > < / li >
< li > < a href = '#mxmlNewCustom' > < tt > mxmlNewCustom()< / tt > < / a > < span class = 'info' > Mini-XML 2.1 < / span > < / li >
< li > < a href = '#mxmlNewElement' > < tt > mxmlNewElement()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewInteger' > < tt > mxmlNewInteger()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewOpaque' > < tt > mxmlNewOpaque()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewReal' > < tt > mxmlNewReal()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewText' > < tt > mxmlNewText()< / tt > < / a > < / li >
< li > < a href = '#mxmlNewTextf' > < tt > mxmlNewTextf()< / tt > < / a > < / li >
< li > < a href = '#mxmlRemove' > < tt > mxmlRemove()< / tt > < / a > < / li >
< li > < a href = '#mxmlSaveAllocString' > < tt > mxmlSaveAllocString()< / tt > < / a > < / li >
< li > < a href = '#mxmlSaveFd' > < tt > mxmlSaveFd()< / tt > < / a > < / li >
< li > < a href = '#mxmlSaveFile' > < tt > mxmlSaveFile()< / tt > < / a > < / li >
< li > < a href = '#mxmlSaveString' > < tt > mxmlSaveString()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetCDATA' > < tt > mxmlSetCDATA()< / tt > < / a > < span class = 'info' > Mini-XML 2.3 < / span > < / li >
< li > < a href = '#mxmlSetCustom' > < tt > mxmlSetCustom()< / tt > < / a > < span class = 'info' > Mini-XML 2.1 < / span > < / li >
< li > < a href = '#mxmlSetCustomHandlers' > < tt > mxmlSetCustomHandlers()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetElement' > < tt > mxmlSetElement()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetErrorCallback' > < tt > mxmlSetErrorCallback()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetInteger' > < tt > mxmlSetInteger()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetOpaque' > < tt > mxmlSetOpaque()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetReal' > < tt > mxmlSetReal()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetText' > < tt > mxmlSetText()< / tt > < / a > < / li >
< li > < a href = '#mxmlSetTextf' > < tt > mxmlSetTextf()< / tt > < / a > < / li >
< li > < a href = '#mxmlWalkNext' > < tt > mxmlWalkNext()< / tt > < / a > < / li >
< li > < a href = '#mxmlWalkPrev' > < tt > mxmlWalkPrev()< / tt > < / a > < / li >
< / ul >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlAdd' > mxmlAdd()< / a > < / h3 >
< h3 > < a name = 'mxmlAdd' > mxmlAdd()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Add a node to a tree.
@ -120,7 +121,7 @@ mxmlAdd(
< h4 > Returns< / h4 >
< p > Nothing.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlDelete' > mxmlDelete()< / a > < / h3 >
< h3 > < a name = 'mxmlDelete' > mxmlDelete()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Delete a node and all of its children.
@ -142,7 +143,7 @@ mxmlDelete(
< h4 > Returns< / h4 >
< p > Nothing.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlElementGetAttr' > mxmlElementGetAttr()< / a > < / h3 >
< h3 > < a name = 'mxmlElementGetAttr' > mxmlElementGetAttr()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Get an attribute.
@ -166,7 +167,7 @@ mxmlElementGetAttr(
< h4 > Returns< / h4 >
< p > Attribute value or NULL< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlElementSetAttr' > mxmlElementSetAttr()< / a > < / h3 >
< h3 > < a name = 'mxmlElementSetAttr' > mxmlElementSetAttr()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set an attribute.
@ -194,7 +195,7 @@ mxmlElementSetAttr(
< h4 > Returns< / h4 >
< p > Nothing.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlEntityAddCallback' > mxmlEntityAddCallback()< / a > < / h3 >
< h3 > < a name = 'mxmlEntityAddCallback' > mxmlEntityAddCallback()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Add a callback to convert entities to Unicode.< / p >
@ -208,7 +209,7 @@ mxmlEntityAddCallback(void);
< h4 > Returns< / h4 >
< p > 0 on success, -1 on failure< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlEntityGetName' > mxmlEntityGetName()< / a > < / h3 >
< h3 > < a name = 'mxmlEntityGetName' > mxmlEntityGetName()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Get the name that corresponds to the character value.
@ -229,7 +230,7 @@ mxmlEntityGetName(
< h4 > Returns< / h4 >
< p > Entity name or NULL< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlEntityGetValue' > mxmlEntityGetValue()< / a > < / h3 >
< h3 > < a name = 'mxmlEntityGetValue' > mxmlEntityGetValue()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Get the character corresponding to a named entity.
@ -251,7 +252,7 @@ mxmlEntityGetValue(
< h4 > Returns< / h4 >
< p > Character value or -1 on error< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlEntityRemoveCallback' > mxmlEntityRemoveCallback()< / a > < / h3 >
< h3 > < a name = 'mxmlEntityRemoveCallback' > mxmlEntityRemoveCallback()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Remove a callback.< / p >
@ -265,7 +266,7 @@ mxmlEntityRemoveCallback(void);
< h4 > Returns< / h4 >
< p > Nothing.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlFindElement' > mxmlFindElement()< / a > < / h3 >
< h3 > < a name = 'mxmlFindElement' > mxmlFindElement()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Find the named element.
@ -303,7 +304,7 @@ mxmlFindElement(
< h4 > Returns< / h4 >
< p > Element node or NULL< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlIndexDelete' > mxmlIndexDelete()< / a > < / h3 >
< h3 > < a name = 'mxmlIndexDelete' > mxmlIndexDelete()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Delete an index.< / p >
@ -322,7 +323,7 @@ mxmlIndexDelete(
< h4 > Returns< / h4 >
< p > Nothing.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlIndexEnum' > mxmlIndexEnum()< / a > < / h3 >
< h3 > < a name = 'mxmlIndexEnum' > mxmlIndexEnum()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Return the next node in the index.
@ -343,7 +344,7 @@ mxmlIndexEnum(
< h4 > Returns< / h4 >
< p > Next node or NULL if there is none< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlIndexFind' > mxmlIndexFind()< / a > < / h3 >
< h3 > < a name = 'mxmlIndexFind' > mxmlIndexFind()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Find the next matching node.
@ -371,7 +372,7 @@ mxmlIndexFind(
< h4 > Returns< / h4 >
< p > Node or NULL if none found< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlIndexNew' > mxmlIndexNew()< / a > < / h3 >
< h3 > < a name = 'mxmlIndexNew' > mxmlIndexNew()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Create a new index.
@ -400,7 +401,7 @@ mxmlIndexNew(
< h4 > Returns< / h4 >
< p > New index< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlIndexReset' > mxmlIndexReset()< / a > < / h3 >
< h3 > < a name = 'mxmlIndexReset' > mxmlIndexReset()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Reset the enumeration/find pointer in the index and
@ -423,7 +424,7 @@ mxmlIndexReset(
< h4 > Returns< / h4 >
< p > First node or NULL if there is none< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlLoadFd' > mxmlLoadFd()< / a > < / h3 >
< h3 > < a name = 'mxmlLoadFd' > mxmlLoadFd()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Load a file descriptor into an XML node tree.
@ -455,7 +456,7 @@ mxmlLoadFd(
< h4 > Returns< / h4 >
< p > First node or NULL if the file could not be read.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlLoadFile' > mxmlLoadFile()< / a > < / h3 >
< h3 > < a name = 'mxmlLoadFile' > mxmlLoadFile()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Load a file into an XML node tree.
@ -487,7 +488,7 @@ mxmlLoadFile(
< h4 > Returns< / h4 >
< p > First node or NULL if the file could not be read.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlLoadString' > mxmlLoadString()< / a > < / h3 >
< h3 > < a name = 'mxmlLoadString' > mxmlLoadString()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Load a string into an XML node tree.
@ -519,7 +520,7 @@ mxmlLoadString(
< h4 > Returns< / h4 >
< p > First node or NULL if the string has errors.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlNewCDATA' > mxmlNewCDATA()< / a > < / h3 >
< h3 > < a name = 'mxmlNewCDATA' > mxmlNewCDATA()< / a > < span class = 'info' > Mini-XML 2.3 < / span > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Create a new CDATA node.
@ -527,7 +528,9 @@ mxmlLoadString(
The new CDATA node is added to the end of the specified parent's child
list. The constant MXML_NO_PARENT can be used to specify that the new
CDATA node has no parent. The data string must be nul-terminated and
is copied into the new node. CDATA nodes use the MXML_ELEMENT type.< / p >
is copied into the new node. CDATA nodes use the MXML_ELEMENT type.
< / p >
< h4 > Syntax< / h4 >
< pre >
< a href = '#mxml_node_t' > mxml_node_t< / a > *
@ -545,7 +548,7 @@ mxmlNewCDATA(
< h4 > Returns< / h4 >
< p > New node< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlNewCustom' > mxmlNewCustom()< / a > < / h3 >
< h3 > < a name = 'mxmlNewCustom' > mxmlNewCustom()< / a > < span class = 'info' > Mini-XML 2.1 < / span > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Create a new custom data node.
@ -553,7 +556,9 @@ mxmlNewCDATA(
The new custom node is added to the end of the specified parent's child
list. The constant MXML_NO_PARENT can be used to specify that the new
element node has no parent. NULL can be passed when the data in the
node is not dynamically allocated or is separately managed.< / p >
node is not dynamically allocated or is separately managed.
< / p >
< h4 > Syntax< / h4 >
< pre >
< a href = '#mxml_node_t' > mxml_node_t< / a > *
@ -571,7 +576,7 @@ mxmlNewCustom(
< h4 > Returns< / h4 >
< p > New node< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlNewElement' > mxmlNewElement()< / a > < / h3 >
< h3 > < a name = 'mxmlNewElement' > mxmlNewElement()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Create a new element node.
@ -596,7 +601,7 @@ mxmlNewElement(
< h4 > Returns< / h4 >
< p > New node< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlNewInteger' > mxmlNewInteger()< / a > < / h3 >
< h3 > < a name = 'mxmlNewInteger' > mxmlNewInteger()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Create a new integer node.
@ -621,7 +626,7 @@ mxmlNewInteger(
< h4 > Returns< / h4 >
< p > New node< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlNewOpaque' > mxmlNewOpaque()< / a > < / h3 >
< h3 > < a name = 'mxmlNewOpaque' > mxmlNewOpaque()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Create a new opaque string.
@ -647,7 +652,7 @@ mxmlNewOpaque(
< h4 > Returns< / h4 >
< p > New node< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlNewReal' > mxmlNewReal()< / a > < / h3 >
< h3 > < a name = 'mxmlNewReal' > mxmlNewReal()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Create a new real number node.
@ -672,7 +677,7 @@ mxmlNewReal(
< h4 > Returns< / h4 >
< p > New node< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlNewText' > mxmlNewText()< / a > < / h3 >
< h3 > < a name = 'mxmlNewText' > mxmlNewText()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Create a new text fragment node.
@ -701,7 +706,7 @@ mxmlNewText(
< h4 > Returns< / h4 >
< p > New node< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlNewTextf' > mxmlNewTextf()< / a > < / h3 >
< h3 > < a name = 'mxmlNewTextf' > mxmlNewTextf()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Create a new formatted text fragment node.
@ -732,7 +737,7 @@ mxmlNewTextf(
< h4 > Returns< / h4 >
< p > New node< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlRemove' > mxmlRemove()< / a > < / h3 >
< h3 > < a name = 'mxmlRemove' > mxmlRemove()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Remove a node from its parent.
@ -754,7 +759,7 @@ mxmlRemove(
< h4 > Returns< / h4 >
< p > Nothing.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSaveAllocString' > mxmlSaveAllocString()< / a > < / h3 >
< h3 > < a name = 'mxmlSaveAllocString' > mxmlSaveAllocString()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Save an XML node tree to an allocated string.
@ -785,7 +790,7 @@ mxmlSaveAllocString(
< h4 > Returns< / h4 >
< p > Allocated string or NULL< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSaveFd' > mxmlSaveFd()< / a > < / h3 >
< h3 > < a name = 'mxmlSaveFd' > mxmlSaveFd()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Save an XML tree to a file descriptor.
@ -812,7 +817,7 @@ mxmlSaveFd(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on error.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSaveFile' > mxmlSaveFile()< / a > < / h3 >
< h3 > < a name = 'mxmlSaveFile' > mxmlSaveFile()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Save an XML tree to a file.
@ -839,7 +844,7 @@ mxmlSaveFile(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on error.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSaveString' > mxmlSaveString()< / a > < / h3 >
< h3 > < a name = 'mxmlSaveString' > mxmlSaveString()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Save an XML node tree to a string.
@ -872,12 +877,14 @@ mxmlSaveString(
< h4 > Returns< / h4 >
< p > Size of string< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetCDATA' > mxmlSetCDATA()< / a > < / h3 >
< h3 > < a name = 'mxmlSetCDATA' > mxmlSetCDATA()< / a > < span class = 'info' > Mini-XML 2.3 < / span > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the element name of a CDATA node.
The node is not changed if it is not a CDATA element node.< / p >
The node is not changed if it is not a CDATA element node.
< / p >
< h4 > Syntax< / h4 >
< pre >
int
@ -895,12 +902,14 @@ mxmlSetCDATA(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on failure< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetCustom' > mxmlSetCustom()< / a > < / h3 >
< h3 > < a name = 'mxmlSetCustom' > mxmlSetCustom()< / a > < span class = 'info' > Mini-XML 2.1 < / span > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the data and destructor of a custom data node.
The node is not changed if it is not a custom node.< / p >
The node is not changed if it is not a custom node.
< / p >
< h4 > Syntax< / h4 >
< pre >
int
@ -918,7 +927,7 @@ mxmlSetCustom(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on failure< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetCustomHandlers' > mxmlSetCustomHandlers()< / a > < / h3 >
< h3 > < a name = 'mxmlSetCustomHandlers' > mxmlSetCustomHandlers()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the handling functions for custom data.
@ -945,7 +954,7 @@ mxmlSetCustomHandlers(
< h4 > Returns< / h4 >
< p > Nothing.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetElement' > mxmlSetElement()< / a > < / h3 >
< h3 > < a name = 'mxmlSetElement' > mxmlSetElement()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the name of an element node.
@ -968,7 +977,7 @@ mxmlSetElement(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on failure< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetErrorCallback' > mxmlSetErrorCallback()< / a > < / h3 >
< h3 > < a name = 'mxmlSetErrorCallback' > mxmlSetErrorCallback()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the error message callback.< / p >
@ -982,7 +991,7 @@ mxmlSetErrorCallback(void);
< h4 > Returns< / h4 >
< p > Nothing.< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetInteger' > mxmlSetInteger()< / a > < / h3 >
< h3 > < a name = 'mxmlSetInteger' > mxmlSetInteger()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the value of an integer node.
@ -1005,7 +1014,7 @@ mxmlSetInteger(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on failure< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetOpaque' > mxmlSetOpaque()< / a > < / h3 >
< h3 > < a name = 'mxmlSetOpaque' > mxmlSetOpaque()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the value of an opaque node.
@ -1028,7 +1037,7 @@ mxmlSetOpaque(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on failure< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetReal' > mxmlSetReal()< / a > < / h3 >
< h3 > < a name = 'mxmlSetReal' > mxmlSetReal()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the value of a real number node.
@ -1051,7 +1060,7 @@ mxmlSetReal(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on failure< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetText' > mxmlSetText()< / a > < / h3 >
< h3 > < a name = 'mxmlSetText' > mxmlSetText()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the value of a text node.
@ -1076,7 +1085,7 @@ mxmlSetText(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on failure< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlSetTextf' > mxmlSetTextf()< / a > < / h3 >
< h3 > < a name = 'mxmlSetTextf' > mxmlSetTextf()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Set the value of a text node to a formatted string.
@ -1103,7 +1112,7 @@ mxmlSetTextf(
< h4 > Returns< / h4 >
< p > 0 on success, -1 on failure< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlWalkNext' > mxmlWalkNext()< / a > < / h3 >
< h3 > < a name = 'mxmlWalkNext' > mxmlWalkNext()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Walk to the next logical node in the tree.
@ -1130,7 +1139,7 @@ mxmlWalkNext(
< h4 > Returns< / h4 >
< p > Next node or NULL< / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxmlWalkPrev' > mxmlWalkPrev()< / a > < / h3 >
< h3 > < a name = 'mxmlWalkPrev' > mxmlWalkPrev()< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Walk to the previous logical node in the tree.
@ -1159,15 +1168,15 @@ mxmlWalkPrev(
<!-- NEW PAGE -->
< h2 > < a name = '_structures' > Structures< / a > < / h2 >
< ul >
< li > < a href = '#mxml_attr_s' > < tt > mxml_attr_s< / tt > < / a > < / li >
< li > < a href = '#mxml_custom_s' > < tt > mxml_custom_s< / tt > < / a > < / li >
< li > < a href = '#mxml_index _s' > < tt > mxml_index _s< / tt > < / a > < / li >
< li > < a href = '#mxml_no de_s' > < tt > mxml_no de_s< / tt > < / a > < / li >
< li > < a href = '#mxml_text _s' > < tt > mxml_text _s< / tt > < / a > < / li >
< li > < a href = '#mxml_value _s' > < tt > mxml_value _s< / tt > < / a > < / li >
< li > < a href = '#mxml_attr_s' > < tt > mxml_attr_s< / tt > < / a > < / li >
< li > < a href = '#mxml_custom_s' > < tt > mxml_custom_s< / tt > < / a > < span class = 'info' > Mini-XML 2.1 < / span > < / li >
< li > < a href = '#mxml_element _s' > < tt > mxml_element _s< / tt > < / a > < / li >
< li > < a href = '#mxml_i ndex _s' > < tt > mxml_i ndex _s< / tt > < / a > < / li >
< li > < a href = '#mxml_node _s' > < tt > mxml_node _s< / tt > < / a > < / li >
< li > < a href = '#mxml_text _s' > < tt > mxml_text _s< / tt > < / a > < / li >
< / ul >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_attr_s' > mxml_attr_s< / a > < / h3 >
< h3 > < a name = 'mxml_attr_s' > mxml_attr_s< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML element attribute value.< / p >
@ -1183,14 +1192,14 @@ struct mxml_attr_s
< p class = 'table' > < table align = 'center' border = '1' width = '80%' >
< thead > < tr > < th > Name< / th > < th > Description< / th > < / tr > < / thead >
< tbody >
< tr > < td > < tt > name< / tt > < / td > < td > Attribute name< / td > < / tr >
< tr > < td > < tt > value< / tt > < / td > < td > Attribute value< / td > < / tr >
< tr > < td > < tt > name< / tt > < / td > < td > Attribute name< / td > < / tr >
< tr > < td > < tt > value< / tt > < / td > < td > Attribute value< / td > < / tr >
< / tbody > < / table > < / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_custom_s' > mxml_custom_s< / a > < / h3 >
< h3 > < a name = 'mxml_custom_s' > mxml_custom_s< / a > < span class = 'info' > Mini-XML 2.1 < / span > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML custom value.< / p >
< p > An XML custom value. < / p >
< h4 > Definition< / h4 >
< pre >
struct mxml_custom_s
@ -1202,10 +1211,32 @@ struct mxml_custom_s
< p class = 'table' > < table align = 'center' border = '1' width = '80%' >
< thead > < tr > < th > Name< / th > < th > Description< / th > < / tr > < / thead >
< tbody >
< tr > < td > < tt > data< / tt > < / td > < td > Pointer to (allocated) custom data< / td > < / tr >
< tr > < td > < tt > data< / tt > < / td > < td > Pointer to (allocated) custom data< / td > < / tr >
< / tbody > < / table > < / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_element_s' > mxml_element_s< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML element value.< / p >
< h4 > Definition< / h4 >
< pre >
struct mxml_element_s
{
< a href = '#mxml_attr_t' > mxml_attr_t< / a > * attrs;
char * name;
int num_attrs;
};
< / pre >
< h4 > Members< / h4 >
< p class = 'table' > < table align = 'center' border = '1' width = '80%' >
< thead > < tr > < th > Name< / th > < th > Description< / th > < / tr > < / thead >
< tbody >
< tr > < td > < tt > attrs< / tt > < / td > < td > Attributes< / td > < / tr >
< tr > < td > < tt > name< / tt > < / td > < td > Name of element< / td > < / tr >
< tr > < td > < tt > num_attrs< / tt > < / td > < td > Number of attributes< / td > < / tr >
< / tbody > < / table > < / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_index_s' > mxml_index_s< / a > < / h3 >
< h3 > < a name = 'mxml_index_s' > mxml_index_s< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML node index.< / p >
@ -1224,14 +1255,14 @@ struct mxml_index_s
< p class = 'table' > < table align = 'center' border = '1' width = '80%' >
< thead > < tr > < th > Name< / th > < th > Description< / th > < / tr > < / thead >
< tbody >
< tr > < td > < tt > alloc_nodes< / tt > < / td > < td > Allocated nodes in index< / td > < / tr >
< tr > < td > < tt > attr< / tt > < / td > < td > Attribute used for indexing or NULL< / td > < / tr >
< tr > < td > < tt > cur_node< / tt > < / td > < td > Current node< / td > < / tr >
< tr > < td > < tt > nodes< / tt > < / td > < td > Node array< / td > < / tr >
< tr > < td > < tt > num_nodes< / tt > < / td > < td > Number of nodes in index< / td > < / tr >
< tr > < td > < tt > alloc_nodes< / tt > < / td > < td > Allocated nodes in index< / td > < / tr >
< tr > < td > < tt > attr< / tt > < / td > < td > Attribute used for indexing or NULL< / td > < / tr >
< tr > < td > < tt > cur_node< / tt > < / td > < td > Current node< / td > < / tr >
< tr > < td > < tt > nodes< / tt > < / td > < td > Node array< / td > < / tr >
< tr > < td > < tt > num_nodes< / tt > < / td > < td > Number of nodes in index< / td > < / tr >
< / tbody > < / table > < / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_node_s' > mxml_node_s< / a > < / h3 >
< h3 > < a name = 'mxml_node_s' > mxml_node_s< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML node.< / p >
@ -1252,16 +1283,16 @@ struct mxml_node_s
< p class = 'table' > < table align = 'center' border = '1' width = '80%' >
< thead > < tr > < th > Name< / th > < th > Description< / th > < / tr > < / thead >
< tbody >
< tr > < td > < tt > child< / tt > < / td > < td > First child node< / td > < / tr >
< tr > < td > < tt > last_child< / tt > < / td > < td > Last child node< / td > < / tr >
< tr > < td > < tt > next< / tt > < / td > < td > Next node under same parent< / td > < / tr >
< tr > < td > < tt > parent< / tt > < / td > < td > Parent node< / td > < / tr >
< tr > < td > < tt > prev< / tt > < / td > < td > Previous node under same parent< / td > < / tr >
< tr > < td > < tt > type< / tt > < / td > < td > Node type< / td > < / tr >
< tr > < td > < tt > value< / tt > < / td > < td > Node value< / td > < / tr >
< tr > < td > < tt > child< / tt > < / td > < td > First child node< / td > < / tr >
< tr > < td > < tt > last_child< / tt > < / td > < td > Last child node< / td > < / tr >
< tr > < td > < tt > next< / tt > < / td > < td > Next node under same parent< / td > < / tr >
< tr > < td > < tt > parent< / tt > < / td > < td > Parent node< / td > < / tr >
< tr > < td > < tt > prev< / tt > < / td > < td > Previous node under same parent< / td > < / tr >
< tr > < td > < tt > type< / tt > < / td > < td > Node type< / td > < / tr >
< tr > < td > < tt > value< / tt > < / td > < td > Node value< / td > < / tr >
< / tbody > < / table > < / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_text_s' > mxml_text_s< / a > < / h3 >
< h3 > < a name = 'mxml_text_s' > mxml_text_s< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML text value.< / p >
@ -1277,46 +1308,24 @@ struct mxml_text_s
< p class = 'table' > < table align = 'center' border = '1' width = '80%' >
< thead > < tr > < th > Name< / th > < th > Description< / th > < / tr > < / thead >
< tbody >
< tr > < td > < tt > string< / tt > < / td > < td > Fragment string< / td > < / tr >
< tr > < td > < tt > whitespace< / tt > < / td > < td > Leading whitespace?< / td > < / tr >
< / tbody > < / table > < / p >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_value_s' > mxml_value_s< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML element value.< / p >
< h4 > Definition< / h4 >
< pre >
struct mxml_value_s
{
< a href = '#mxml_attr_t' > mxml_attr_t< / a > * attrs;
char * name;
int num_attrs;
};
< / pre >
< h4 > Members< / h4 >
< p class = 'table' > < table align = 'center' border = '1' width = '80%' >
< thead > < tr > < th > Name< / th > < th > Description< / th > < / tr > < / thead >
< tbody >
< tr > < td > < tt > attrs< / tt > < / td > < td > Attributes< / td > < / tr >
< tr > < td > < tt > name< / tt > < / td > < td > Name of element< / td > < / tr >
< tr > < td > < tt > num_attrs< / tt > < / td > < td > Number of attributes< / td > < / tr >
< tr > < td > < tt > string< / tt > < / td > < td > Fragment string< / td > < / tr >
< tr > < td > < tt > whitespace< / tt > < / td > < td > Leading whitespace?< / td > < / tr >
< / tbody > < / table > < / p >
<!-- NEW PAGE -->
< h2 > < a name = '_types' > Types< / a > < / h2 >
< ul >
< li > < a href = '#mxml_attr_t' > < tt > mxml_attr_t< / tt > < / a > < / li >
< li > < a href = '#mxml_custom_load_cb_t' > < tt > mxml_custom_load_cb_t< / tt > < / a > < / li >
< li > < a href = '#mxml_custom_save_cb_t' > < tt > mxml_custom_save_cb_t< / tt > < / a > < / li >
< li > < a href = '#mxml_custom_t' > < tt > mxml_custom_t< / tt > < / a > < / li >
< li > < a href = '#mxml_element_t' > < tt > mxml_element_t< / tt > < / a > < / li >
< li > < a href = '#mxml_index_t' > < tt > mxml_index_t< / tt > < / a > < / li >
< li > < a href = '#mxml_node_t' > < tt > mxml_node_t< / tt > < / a > < / li >
< li > < a href = '#mxml_text_t' > < tt > mxml_text_t< / tt > < / a > < / li >
< li > < a href = '#mxml_value_t' > < tt > mxml_value_t< / tt > < / a > < / li >
< li > < a href = '#mxml_attr_t' > < tt > mxml_attr_t< / tt > < / a > < / li >
< li > < a href = '#mxml_custom_load_cb_t' > < tt > mxml_custom_load_cb_t< / tt > < / a > < / li >
< li > < a href = '#mxml_custom_save_cb_t' > < tt > mxml_custom_save_cb_t< / tt > < / a > < / li >
< li > < a href = '#mxml_custom_t' > < tt > mxml_custom_t< / tt > < / a > < span class = 'info' > Mini-XML 2.1 < / span > < / li >
< li > < a href = '#mxml_element_t' > < tt > mxml_element_t< / tt > < / a > < / li >
< li > < a href = '#mxml_index_t' > < tt > mxml_index_t< / tt > < / a > < / li >
< li > < a href = '#mxml_node_t' > < tt > mxml_node_t< / tt > < / a > < / li >
< li > < a href = '#mxml_text_t' > < tt > mxml_text_t< / tt > < / a > < / li >
< li > < a href = '#mxml_value_t' > < tt > mxml_value_t< / tt > < / a > < / li >
< / ul >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_attr_t' > mxml_attr_t< / a > < / h3 >
< h3 > < a name = 'mxml_attr_t' > mxml_attr_t< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML element attribute value.< / p >
@ -1325,7 +1334,7 @@ struct mxml_value_s
typedef struct < a href = '#mxml_attr_s' > mxml_attr_s< / a > mxml_attr_t;
< / pre >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_custom_load_cb_t' > mxml_custom_load_cb_t< / a > < / h3 >
< h3 > < a name = 'mxml_custom_load_cb_t' > mxml_custom_load_cb_t< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Custom data load callback function< / p >
@ -1334,7 +1343,7 @@ typedef struct <a href='#mxml_attr_s'>mxml_attr_s</a> mxml_attr_t;
typedef int (*mxml_custom_load_cb_t)(< a href = '#mxml_node_t' > mxml_node_t< / a > *, const char *);
< / pre >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_custom_save_cb_t' > mxml_custom_save_cb_t< / a > < / h3 >
< h3 > < a name = 'mxml_custom_save_cb_t' > mxml_custom_save_cb_t< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > Custom data save callback function< / p >
@ -1343,25 +1352,25 @@ typedef int (*mxml_custom_load_cb_t)(<a href='#mxml_node_t'>mxml_node_t</a> *, c
typedef char * (*mxml_custom_save_cb_t)(< a href = '#mxml_node_t' > mxml_node_t< / a > *);
< / pre >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_custom_t' > mxml_custom_t< / a > < / h3 >
< h3 > < a name = 'mxml_custom_t' > mxml_custom_t< / a > < span class = 'info' > Mini-XML 2.1 < / span > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML custom value.< / p >
< p > An XML custom value. < / p >
< h4 > Definition< / h4 >
< pre >
typedef struct < a href = '#mxml_custom_s' > mxml_custom_s< / a > mxml_custom_t;
< / pre >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_element_t' > mxml_element_t< / a > < / h3 >
< h3 > < a name = 'mxml_element_t' > mxml_element_t< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML element value.< / p >
< h4 > Definition< / h4 >
< pre >
typedef struct < a href = '#mxml_value_s' > mxml_value _s< / a > mxml_element_t;
typedef struct < a href = '#mxml_element_s' > mxml_element _s< / a > mxml_element_t;
< / pre >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_index_t' > mxml_index_t< / a > < / h3 >
< h3 > < a name = 'mxml_index_t' > mxml_index_t< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML node index.< / p >
@ -1370,7 +1379,7 @@ typedef struct <a href='#mxml_value_s'>mxml_value_s</a> mxml_element_t;
typedef struct < a href = '#mxml_index_s' > mxml_index_s< / a > mxml_index_t;
< / pre >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_node_t' > mxml_node_t< / a > < / h3 >
< h3 > < a name = 'mxml_node_t' > mxml_node_t< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML node.< / p >
@ -1379,7 +1388,7 @@ typedef struct <a href='#mxml_index_s'>mxml_index_s</a> mxml_index_t;
typedef struct < a href = '#mxml_node_s' > mxml_node_s< / a > mxml_node_t;
< / pre >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_text_t' > mxml_text_t< / a > < / h3 >
< h3 > < a name = 'mxml_text_t' > mxml_text_t< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML text value.< / p >
@ -1388,7 +1397,7 @@ typedef struct <a href='#mxml_node_s'>mxml_node_s</a> mxml_node_t;
typedef struct < a href = '#mxml_text_s' > mxml_text_s< / a > mxml_text_t;
< / pre >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_value_t' > mxml_value_t< / a > < / h3 >
< h3 > < a name = 'mxml_value_t' > mxml_value_t< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML node value.< / p >
@ -1399,10 +1408,10 @@ typedef union <a href='#mxml_value_u'>mxml_value_u</a> mxml_value_t;
<!-- NEW PAGE -->
< h2 > < a name = '_unions' > Unions< / a > < / h2 >
< ul >
< li > < a href = '#mxml_value_u' > < tt > mxml_value_u< / tt > < / a > < / li >
< li > < a href = '#mxml_value_u' > < tt > mxml_value_u< / tt > < / a > < / li >
< / ul >
<!-- NEW PAGE -->
< h3 > < a name = 'mxml_value_u' > mxml_value_u< / a > < / h3 >
< h3 > < a name = 'mxml_value_u' > mxml_value_u< / a > < / h3 >
< hr noshade / >
< h4 > Description< / h4 >
< p > An XML node value.< / p >
@ -1422,12 +1431,12 @@ union mxml_value_u
< p class = 'table' > < table align = 'center' border = '1' width = '80%' >
< thead > < tr > < th > Name< / th > < th > Description< / th > < / tr > < / thead >
< tbody >
< tr > < td > < tt > custom< / tt > < / td > < td > Custom data< / td > < / tr >
< tr > < td > < tt > element< / tt > < / td > < td > Element< / td > < / tr >
< tr > < td > < tt > integer< / tt > < / td > < td > Integer number< / td > < / tr >
< tr > < td > < tt > opaque< / tt > < / td > < td > Opaque string< / td > < / tr >
< tr > < td > < tt > real< / tt > < / td > < td > Real number< / td > < / tr >
< tr > < td > < tt > text< / tt > < / td > < td > Text fragment< / td > < / tr >
< tr > < td > < tt > custom< / tt > < span class = 'info' > Mini-XML 2.1 < / span > < / td > < td > Custom data < / td > < / tr >
< tr > < td > < tt > element< / tt > < / td > < td > Element< / td > < / tr >
< tr > < td > < tt > integer< / tt > < / td > < td > Integer number< / td > < / tr >
< tr > < td > < tt > opaque< / tt > < / td > < td > Opaque string< / td > < / tr >
< tr > < td > < tt > real< / tt > < / td > < td > Real number< / td > < / tr >
< tr > < td > < tt > text< / tt > < / td > < td > Text fragment< / td > < / tr >
< / tbody > < / table > < / p >
< / body >
< / html >