/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
if ( obj2 == XMLList) {
if ( obj2 instanceof XMLList ) {
} else { listToAdd = newXMLListFrom(obj1); } } else { listToAdd.addToList(obj1); } <extra_id_0> XMLList list2 = (XMLList) obj2; for (int i = 0; i < list2.length(); i++) { listToAdd.addToList(list2.item(i)); } } else if (obj2 instanceof XML) { listToAdd.addToList(obj2);