ZVON > References > DOM2 Reference

firstChild (method )

Owning interface and usage:  
TreeWalker.firstChild()

Member of these other interfaces:  
none

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

Parameters:  
none

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

Exceptions:  
none