standard.lib.xml.xmlReadMemory

xmlReadMemory is available since version 1.0.

Prototype:

number xmlReadMemory(string buffer, string URL, string encoding, number options)

Parameters

buffer
the XML buffer
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 handle or null if failed.