ParseXmlFromFile method: Document class

Syntax

ParseXmlFromFile(file_name [, validate])

Description

Use this method to generate a document from the XML schema definition provided in a file.

Parameters

Parameter Description

file_name

Specifies the name of the file as a string.

validate

Specifies a Boolean value indicating whether to validate the XML document as it is generated.

Returns

A Boolean value: True if a document (or a valid document) was generated, False otherwise.