DOM:treeWalker
From MDC
« Gecko DOM Reference
[edit] Introduction
The TreeWalker object represents the nodes of a document subtree and a position within them.
A TreeWalker can be created using the createTreeWalker method of the document object.
[edit] Properties
- root
- whatToShow
- filter
- expandEntityReferences
- currentNode
[edit] Methods
- parentNode
- firstChild
- lastChild
- previousSibling
- nextSibling
- previousNode
- nextNode
[edit] Specification
DOM Level 2 Traversal: TreeWalker