/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
for ( int i = 0; i <= nodes.getLength( ) ; i++) {
for ( int i = 0; i < nodes.getLength ( ) ; i++ ) {
XmlNode getChild(int index) { Node child = dom.getChildNodes().item(index); return createImpl(child); } boolean hasChildElement() { org.w3c.dom.NodeList nodes = this.dom.getChildNodes(); <extra_id_0> if (nodes.item(i).getNodeType() == org.w3c.dom.Node.ELEMENT_NODE) return true; } return false; } boolean isSameNode(XmlNode other) { return this.dom == other.dom;