>  Docs Center  >  IDL Reference  >  I/O - Other Data Formats  >  IDLffXMLDOMTreeWalker::SetCurrentNode

IDLffXMLDOMTreeWalker::SetCurrentNode

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



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us