XML Routines

SaxInit, event_handler, buffer

Parses an XML document and registers the event handler function for execution.

XmlAddNode(parent_node, new_node)

Adds a node created with XmlNewNode to a node tree.

XmlDocDump, document_id, buffer

Creates an XML document either in memory or in an external file from an XML Document Object Model (DOM).

XmlEvaluate(document_id, [query])

Evaluates an XPATH expression and returns the selected nodes or by default returns all nodes in the XML document.

XmlFreeDoc(document_id)

Frees memory for XML documents in memory (DOM representation).

XmlFreeNode(node_id)

Frees memory for XML documents in memory (DOM representation).

XmlNewDoc(root_name)

Creates a new XML document in memory as an XML Document Object Model (DOM). By default the version of XML is set to 1.0.

XmlNewNode(node_name)

Creates a new XML Node.

XmlParse

Parses an XML file or an in memory XML document and builds an internal Document Object Model tree which can be used in other XML functions.

XmlSetAttr(document)

Sets an attribute for a node.

XmlSetContent(node_id)

Sets content for a node.

XmlSetContext(document_id)

Sets the star location or the context of the parsed document.