ParseXmlString method: Document class

Syntax

ParseXmlString(XML_string [, validate])

Description

Use this method to generate a document from the XML schema definition provided as an XML string.

Parameters

Parameter Description

XML_string

Specifies the XML 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.