MakeXMLDocumentFromHTML (open)
Creates an XML Document out of a HTML document blob
Syntax
LOADLIB "wh::xml/dom.whlib";
OBJECT FUNCTION MakeXMLDocumentFromHTML(BLOB xmlfile, STRING encoding, BOOLEAN readonly, BOOLEAN noimplied)Parameters
BLOB xmlfileHTML file to parse
STRING encodingHTML file encoding, if known
BOOLEAN readonlyIf true, create a read-only XML document
BOOLEAN noimpliedIf true, don't generate the implied etc tags
Return value
OBJECTA new document object. use GetParseErrors() to check for syntax errors