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