standard.lib.xml.htmlParseDocument

htmlParseDocument is available since version 1.0.

Prototype:

number htmlParseDocument(number ctxt)

Parameters

ctxt
an HTML parser context

Description:

Parse an HTML document (and build a tree if using the standard SAX interface).

Return value:

Returns 0, -1 in case of error. The parser context is augmented as a result of the parsing.