standard.lib.xml.htmlParseDoc

htmlParseDoc is available since version 1.0.

Prototype:

number htmlParseDoc(string cur, string encoding)

Parameters

cur
the string to parse
encoding
a string describing the encoding or an empty string

Description:

Parse an HTML in-memory document and build a tree.

Return value:

Returns the resulting document tree.