standard.lib.xml.htmlReadFile

htmlReadFile is available since version 1.0.

Prototype:

number htmlReadFile(string filename, string encoding, number options)

Parameters

filename
a file or URL
encoding
the document encoding or an empty string
options
a combination of htmlParserOption(s)

Description:

Parse an XML file from the filesystem or the network.

Return value:

Returns the resulting document tree handle or null if failed.