standard.lib.xml.xmlNewDocPI

xmlNewDocPI is available since version 1.0.

Prototype:

number xmlNewDocPI(number doc, string name, string content)

Parameters

doc
the target XML document
name
the processing instruction name
content
the PI content

Description:

Creation of a processing instruction element.

Return value:

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