htmlCtxtReadFile is available since version 1.0.
Prototype:
number htmlCtxtReadFile(number ctxt, string filename, string encoding, number options)
Parameters
ctxt
an HTML parser context
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. This reuses the existing ctxt parser context.
Return value:
Returns the resulting document tree or null if failed.