xmlNewPI is available since version 1.0.
Prototype:
number xmlNewPI(string name, string content)
Parameters
name
the processing instruction name
Description:
Creation of a processing instruction element. Use {xmlDocNewPI} preferably to get string interning.
Return value:
Returns a handle to the new node or null if failed.