/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
XMLList result = newXMLList( ) ;XMLList list = ( XMLList) xmlValue;
XMLList list = ( XMLList ) xmlValue;
if (index < length()) { XML xmlNode = getXmlFromAnnotation(index); if (xmlValue instanceof XML) { replaceNode(xmlNode, (XML) xmlValue); replace(index, xmlNode); } else if (xmlValue instanceof XMLList) { <extra_id_0> if (list.length() > 0) { int lastIndexAdded = xmlNode.childIndex(); replaceNode(xmlNode, list.item(0)); replace(index, list.item(0)); for (int i = 1; i < list.length(); i++) { xmlParent.insertChildAfter(