IXMLDOMDocument2
A version of this page is also available for
4/8/2010
An extension of DOMDocument that supports schema caching and validation features, and switching on XML Path Language (XPath) support.
Methods
The following table shows the methods for IXMLDOMDocument2.
Method | Description |
---|---|
Identifies default values or values set by setProperty. |
|
Changes select nodes to return an IXMLDOMSelection object. |
|
Mechanism for setting properties. |
|
Performs run-time validation on the currently loaded XML document. |
Properties
The following table shows the properties for IXMLDOMDocument2.
Property | Description |
---|---|
Returns the list of namespaces in the document. |
|
Uses the XMLSchemaCache/IXMLDOMSchemaCollection to find schema documents. |
Events
None.
Remarks
The following CLSID supports IID_XMLDOMDocument2 in CoCreateInstance. The following progID returns an object that can be cast into an IXMLDOMDocument2 interface. IXMLDOMDocument2 methods and properties are transparently available in late-bound scripting languages that go through IDispatch.
The same is true for DOMDocument objects exposed through the responseXML (IXMLHTTPRequest) property.
CLSID | ProgID |
---|---|
CLSID_DOMDocument |
Msxml2.DOMDocument |
This interface inherits all of the methods, properties, and events of DOMDocument.
Requirements
Header | msxml2.h, msxml2.idl |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |