Skip to content

LastParseError - cXMLDOMDocument

Returns the last parsing error encountered by a document load and parse

Type: Function
Return Data Type: Integer

Syntax

Function LastParseError Returns Integer

Call Example

Get LastParseError to IntegerVariable

Description

LastParseError returns the last parsing error encountered by a document load and parse. You can use this to test if an asynchronous load using LoadXMLDocument has succeeded. Before testing last error, you must verify that the document has finished loading by testing pbReadyState.

See pbAsync for more information and a sample.