IDLffXMLDOMTreeWalker::SetCurrentNode

The IDLffXMLDOMTreeWalker::SetCurrentNode procedure method sets the tree walker's current node to the specified node. You can use this method to position the walker at a particular node in the DOM tree.

Syntax

Obj->[IDLffXMLDOMTreeWalker::]SetCurrentNode, CurrentNode

Arguments

CurrentNode

An object reference to an object belonging to a subclass of IDLffXMLDOMNode. For example:

oTop = oDocument->GetDocumentElement()

oWalker = oDocument->CreateTreeWalker( oTop )

oNode = oWalker->GetFirstChild()

oNode = oWalker->GetNextSibling()

; Move walker back to the top.

oWalker->SetCurrentNode, oTop

Keywords

None

Version History

6.2

Introduced