Link Search Menu Expand Document

XmlNodeList.NextNode Method

Explanation Take out the next node.
Call format var node = list.NextNode( )
Return value XmlNode object
Return null if no more nodes are found.
Arguments None
Exception None
Example of use
    var domimpl = new XmlDOMImplementation;
    var res = session.Get("/test/sample.xml");
    var xmldoc = domimpl.Load(res);
    var list = xmldoc.DocumentElement.ChildNodes;
    while (var n = list.NextNode()) {
        print(n.NodeName, "\n");
    }
    
Related item XmlNode class
Reset method