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