MakeXMLDocument (open)

Creates an XML Document object out of the specified blob

Syntax

LOADLIB "wh::xml/dom.whlib";

OBJECT FUNCTION MakeXMLDocument(BLOB xmlfile, STRING encoding, BOOLEAN readonly)

Parameters

BLOB xmlfile

XML file to parse

STRING encoding

XML file encoding, if known

BOOLEAN readonly

If true, create a read-only XML document

Return value

OBJECT

A new document object. use GetParseErrors() to check for syntax errors