Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - DOM Reference

IXMLDOMParseError2

The IXMLDOMParseError2 interface extends the IXMLDOMParseError interface and provides enhanced error handling functionality. With IXMLDOMParseError2, you can:

Use the parseError property of DOMDocument to access this interface from a DOM object.

Properties

Property Description
allErrors Returns a collection of all errors and warnings found during validation. Read-only.
errorParametersCount Returns the number of error parameters returned in errorParameters. Read-only.
errorXPath Returns an XPath expression, which locates the node where the error occurred. Read-only

Methods

Method Description
errorParameters For a given index, this method returns the corresponding parameter used to construct the error message.

Events

None.

Requirements

Implementation: msxml5.dll, msxml2.lib

[C/C++]

Header and IDL files: msxml2.h, msxml2.idl

Inheritance: Inherits from the IXMLDOMParseError interface.

Versioning

MSXML 5.0 and later

To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

IXMLDOMDocument::parseError Property | IXMLDOMParseError Interface | IXMLDOMParseErrorCollection Interface