INodeIterator
The NodeIterator interface represents an iterator over the members of a
list of the nodes in a subtree of the DOM. The nodes will be returned in
document order.
Gets the NodeFilter used to select the relevant nodes.
Gets an indicator whether the NodeFilter is anchored before the reference node.
Gets the Node to which the iterator is anchored.
Gets a Node representing the root node as specified when the NodeIterator was created.
Gets a description of the types of nodes that must to be presented. Non-matching nodes are
skipped, but their children may be included, if relevant.
Returns the next Node in the document, or null if there are none.
Returns the previous Node in the document, or null if there are none.