standard.lib.xml.xmlReaderForMemory

xmlReaderForMemory is available since version 1.0.

Prototype:

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

Parameters

buffer
The buffer containing the buffer
URL
the base URL to use for the document
encoding
the document encoding
options
a combination of xmlParserOption

Description:

Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.

Return value:

Returns the new reader or null in case of error.