/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
result.addToList(getXmlChild(index));
if ( index >= 0 && index < this.node.getChildCount ( ) ) { result.addToList ( getXmlChild ( index ) ) ; }
return rv; } @Override XMLList child(int index) { XMLList result = newXMLList(); result.setTargets(this, null); <extra_id_0> return result; } XML getXmlChild(int index) { XmlNode child = this.node.getChild(index); if (child.getXml() == null) { child.setXml(newXML(child));