xmlReadDoc is available since version 1.0.
Prototype:
number xmlReadDoc(string cur, string URL, string encoding, number options)
Parameters
URL
the base URL to use for the document
encoding
the document encoding
options
a combination of xmlParserOption
Description:
Parse an XML in-memory document and build a tree.
Return value:
Returns the resulting document tree.