/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLName.java
if ( isAttributeName( ) ) {   addAttributes( rv, target) ; }else {   XML[] children = target.getChildren( ) ;   if ( children != null) {     for ( int i = 0; i < ( children.length) ; i++) {       if ( this.matches( children[i]) ) {         rv.addToList( children[i]) ;       }     }   }   rv.setTargets( target, this.toQname( ) ) ; }
[Delete]
list.addToList(attributes[i]); } } } } private void addDescendantAttributes(XMLList list, XML target) { <extra_id_0> addMatchingAttributes(list, target); XML[] children = target.getChildren(); for (int i = 0; i < children.length; i++) { addDescendantAttributes(list, children[i]); } }