ZVON > References > DOM2 Reference

previousSibling (method )

Owning interface and usage:  
TreeWalker.previousSibling()

Member of these other interfaces:  
none

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

Parameters:  
none

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

Exceptions:  
none