ZVON > References > DOM2 Reference

nextSibling (method )

Owning interface and usage:  
TreeWalker.nextSibling()

Member of these other interfaces:  
none

Description:  
Moves the TreeWalker to the next sibling of the current node, and returns the new node. If the current node has no visible next sibling, returns null, and retains the current node.

Parameters:  
none

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

Exceptions:  
none