/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLName.java
if ( target.isElement( ) ) {   XML[] children = target.getChildren( ) ;   for ( int i = 0; i < ( children.length) ; i++) {     if ( xmlName.matches( children[i]) ) {       list.addToList( children[i]) ;     }     addDescendantChildren( list, children[i]) ;   } }
[Delete]
if (isDescendants()) { addDescendants(rv, target); } else if (isAttributeName()) { addAttributes(rv, target); } else { XML[] children = target.getChildren(); <extra_id_0> for (int i = 0; i < children.length; i++) { if (this.matches(children[i])) { rv.addToList(children[i]); } } }