iTP Active Transaction Pages (iTP ATP) Programmer's Guide

XML for ATP Add-On Module
iTP Active Transaction Pages (iTP ATP) Programmer’s Guideβ€”522292-002
5-40
Methods
Parameters
None.
Return Value
objXMLDOMNode – Refers to the next node in the collection. Returns null if there
is no next node.
Example
var doc = new XML.DOMDocument;
doc.validateOnParse = true;
doc.load("sample.xml");
root = doc.documentElement;
var map =
root.childNodes.item(0).childNodes.item(4).attributes;
var node = map.nextNode();
while(node)
{
println(node.nodeName + " = " + node.nodeValue);
node = map.nextNode();
}
Output
street = Yes
permanent = Yes
reset
Resets the iterator. This method reinitializes the iterator to point before the first node
in the XMLDOMNamedNodeMap Object so that the next call to nextNode returns
the first item in the list. This member is an extension of the W3C DOM.
Syntax
oXMLDOMNameNodeMap.reset()
Parameters
None.
Return Value
None.