/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
XMLList list = ( XMLList) value;XMLList rv = newXMLList( ) ;
XMLList rv = newXMLList ( ) ;
@Override void addMatches(XMLList rv, XMLName name) { name.addMatches(rv, this); } @Override XMLList elements(XMLName name) { <extra_id_0> rv.setTargets(this, name.toQname()); XmlNode[] elements = this.node.getMatchingChildren(XmlNode.Filter.ELEMENT); for (int i = 0; i < elements.length; i++) { if (name.matches(toXML(elements[i]))) { rv.addToList(toXML(elements[i])); }