Provides a sequential access to the list of nodes.
nextNode();
Return Value
The next node in the list or null, if the end of the list was reached.
Remarks
This method can be called sequentially until the end of the list is reached. To start traversing the list from the beginning, call SGNodeList.reset method.
Example
The following example illustrates the use of the nextNode method.
function displayChildNodes(parent)
{
var names = "";
var nodeList = parent.childNodes();
var node = nodeList.nextNode();
while(node != null)
{
names += node.getName() + "\n";
node = nodeList.nextNode();
}
alert(names);
}