standard.lib.xml.xmlNewDocRawNode

xmlNewDocRawNode is available since version 1.0.

Prototype:

number xmlNewDocRawNode(number doc, number ns, string name, string content)

Parameters

doc
the XML document handle
ns
the namespace handle, if any
name
the node name
content
the text content, if any

Description:

Creation of a new node element within a document. ns can be null and content can be an empty string.

Return value:

Returns a handle to the new node or null if failed.