TreeWalker class

TreeWalker class

A tree walker.

Inheritance: TreeWalkerTraversal

The TreeWalker type exposes the following members:

Properties

PropertyDescription
rootDefines the interface for get Root node.
filterDefines the interface for get Filter.
current_nodeThe Current node property

Methods

MethodDescription
parent_nodeDefines the interface for get parent node.
first_childDefines the interface for get first child node.
last_childDefines the interface for get last child node.
previous_siblingDefines the interface for get previous sibling node.
next_siblingDefines the interface for get next sibling node.
previous_nodeDefines the interface for get previous node.
next_nodeDefines the interface for get next node.

See Also