standard.lib.xml.htmlParseFile

htmlParseFile is available since version 1.0.

Prototype:

number htmlParseFile(string filename, string encoding)

Parameters

filename
the filename
encoding
the document encoding or an empty string

Description:

Parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

Return value:

Returns the resulting document tree handle or null if failed.