MakeXMLSchema (open)

Creates an XML Schema out of the specified blob

Syntax

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

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

Parameters

BLOB xmlfile

XSD file to parse

STRING encoding

XSD file encoding, if known

BOOLEAN readonly

If true, create a read-only XML document

Return value

OBJECT
Possible objecttypes:

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