xmlNewReference is available since version 1.0.
Prototype:
number xmlNewReference(number doc, string name)
Parameters
doc
the XML document handle
name
the reference name, or the reference string with & and ;
Description:
Creation of a new reference node.
Return value:
Returns a handle to the new node or null if failed.