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