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()
oWalker->SetCurrentNode, oTop
Keywords
None
Version History