/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
XMLList xmll = ( XMLList) inputObject;XMLList list1 = ( XMLList) obj1;
XMLList list1 = ( XMLList ) obj1;
} return result; } Object addXMLObjects(Context cx, XMLObject obj1, XMLObject obj2) { XMLList listToAdd = newXMLList(); if (obj1 instanceof XMLList) { <extra_id_0> if (list1.length() == 1) { listToAdd.addToList(list1.item(0)); } else { listToAdd = newXMLListFrom(obj1); } } else {