standard.lib.xml.xmlNewDocText

xmlNewDocText is available since version 1.0.

Prototype:

number xmlNewDocText(number doc, string content)

Parameters

doc
the document
content
the text content

Description:

Creation of a new text node within a document.

Return value:

Returns a new node handle or null if failed.