[This sample code uses features that were first implemented in MSXML 5.0 for Microsoft Office Applications.]
As an extension of the IXMLDOMDocument2 interface, the IXMLDOMDocument3 interface supports two additional methods, importNode and validateNode. The first one can be used to clone a node from an XML DOM object of different threading model. The second method performs run-time validation of a specified DOM fragment against the currently loaded document type definition (DTD), schema, or schema collection.

Properties

Methods
|
importNode
|
Clones a node from a different DOM, so that it can be added later into the document using the appendChild method.
|
|
validateNode*
|
Validates a DOM fragment against the currently loaded DTD, schema, or schema collection.
|
* Extension to the W3C DOM Specification.

Events

Remarks
With a pointer to this interface, you can access all the methods and properties of the IXMLDOMDocument2 interface.

Requirements
Implementation:
msxml5.dll, msxml2.lib (MSXML 5.0 for Microsoft Office Applications)
Header and IDL files: msxml2.h, msxml2.idl
For version-specific GUID and ProgIDs, see GUID and ProgID Information.

Versioning
Implemented in: MSXML 5.0 for Microsoft Office Applications and later

See Also