ZVON > References > DOM2 Reference

nextNode (method )

Owning interface and usage:  
NodeIterator.nextNode()

Member of these other interfaces:  
none

Description:  
Returns the next node in the set and advances the position of the iterator in the set. After a NodeIterator is created, the first call to nextNode() returns the first node in the set.

Parameters:  
none

Returns:  
Node -  The next Node in the set being iterated over, or null if there are no more members in that set.

Exceptions:  
DOMException INVALID_STATE_ERR
Raised if this method is called after the detach() method was invoked.