/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
XmlNode[] elements = this.node.getChildIndex( XmlNode.Filter.ELEMENT) ;
XmlNode[] elements = this.node.getMatchingChildren ( XmlNode.Filter.ELEMENT ) ;
} return rv; } @Override XMLList child(XMLName xmlName) { XMLList rv = newXMLList(); <extra_id_0> for (int i = 0; i < elements.length; i++) { if (xmlName.matchesElement(elements[i].getQname())) { rv.addToList(toXML(elements[i])); } } rv.setTargets(this, xmlName.toQname());