Partager via


dom-node Property

 

Specifies source DOM node for current SAX event.

JScript Syntax

oSaxReader.putProperty(strProp, oNode);  
oNode = oSaxReader.getProperty(strProp);  

Visual Basic Syntax

oSaxReader.putProperty
(strProp, oNode)  
oNode = oSaxReader.getProperty
(strProp)  

C/C++ Syntax

HRESULT putProperty(BSTR strProp, VARIANT oNode);  
HRESULT getProperty(BSTR strProp, VARIANT oNode);  

Value

strProp
A BSTR string whose value is "http://xml.org/sax/properties/dom-node".

oNode
An object of IXMLDOMNode type.

Remarks

This property is only available when using parse method and SAX events are generated from an IXMLDOMNode object. Not available when using parseURL method for SAX parsing of a file.

Applies to

Interface: ISAXXMLReader

Method: putProperty | getProperty

Versioning

Implemented in: MSXML 3.0 and later