XmlSchema::ValidateDocument (open)

Validates a document

Syntax

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

RECORD ARRAY FUNCTION ValidateDocument(OBJECT document)

Parameters

OBJECT document
Possible objecttypes:

Document to validate

Return value

RECORD ARRAY

Validation errors

INTEGER code

Error code

STRING filename

File with the error

INTEGER line

Line number of the error

STRING localname

Local name of the element relevant to the error

STRING message

Validation error message

STRING namespaceuri

Namespace URI of the element relevant to the error