ZVON > References > DOM2 Reference

nextNode (method )

Owning interface and usage:  
TreeWalker.nextNode()

Member of these other interfaces:  
none

Description:  
Moves the TreeWalker to the next visible node in document order relative to the current node, and returns the new node. If the current node has no next node, or if the search for nextNode attempts to step upward from the TreeWalker's root node, returns null, and retains the current node.

Parameters:  
none

Returns:  
Node -  The new node, or null if the current node has no next node in the TreeWalker's logical view.

Exceptions:  
none