/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLName.java
if ( node.isElement( ) ) {
if ( target.isElement ( ) ) {
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]); } }