XML serialization / deserialization.
◆ nyx_xml_type_t
XML node types.
Enumerator |
---|
NYX_XML_ELEM | Element node.
|
NYX_XML_ATTR | Attribute node.
|
NYX_XML_COMMENT | Comment node.
|
NYX_XML_CDATA | CDATA content.
|
NYX_XML_TEXT | Text content.
|
◆ nyx_xmldoc_parse_buff()
nyx_xmldoc_t * nyx_xmldoc_parse_buff |
( |
__ZEROABLE__ size_t | size, |
|
|
__NULLABLE__ BUFF_t | buff ) |
Parses an XML document from a string buffer.
- Parameters
-
size | The string size. |
buff | The string pointer. |
- Returns
- The new XML document.
◆ nyx_xmldoc_parse()
Parses an XML document from a string.
- Parameters
-
- Returns
- The new XML document.
◆ nyx_xmldoc_free()
Frees memory of the provided XML document.
- Parameters
-
xmldoc | The provided XML document. |
◆ nyx_xmldoc_to_string()
Returns a string representing the provided XML document.
- Parameters
-
xmldoc | The provided XML document. |
- Returns
- The string representing the provided XML document.