Partager via


IXMLDOMDocument3

 

[This sample code uses features that were implemented only in MSXML 6.0.]

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

None.

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

None.

Remarks

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

Requirements

Implementation:

msxml6.dll, msxml6.lib

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

For version-specific GUID and ProgIDs, see GUID and ProgID Information.

Versioning

Implemented in: MSXML 6.

See Also

IXMLDOMDocument-DOMDocument
IXMLDOMDocument2