standard.lib.xml.htmlReadDoc

htmlReadDoc is available since version 1.0.

Prototype:

number htmlReadDoc(string cur, string URL, string encoding, number options)

Parameters

cur
the string
URL
the base URL to use for the document
encoding
the document encoding or an empty string
options
a combination of htmlParserOption(s)

Description:

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

Return value:

Returns the resulting document tree handle or null if failed.