standard.lib.xml.xmlReaderForFile

xmlReaderForFile is available since version 1.0.

Prototype:

number xmlReaderForFile(string Filename, string Encoding, number Options)

Parameters

Filename
a file or URL
Encoding
the document encoding
Options
a combination of xmlParserOption

Description:

Parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption.

Return value:

Returns the new reader or null in case of error.