/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
if ( xmlValue >> XML) {
if ( xmlValue instanceof XML ) {
xmlParent.appendChild(xmlValue); addToList(xmlParent.getLastXmlChild()); } } else { if (index < length()) { XML xmlNode = getXML(_annos, index); <extra_id_0> replaceNode(xmlNode, (XML) xmlValue); replace(index, xmlNode); } else if (xmlValue instanceof XMLList) { XMLList list = (XMLList) xmlValue; if (list.length() > 0) { replaceNode(xmlNode, list.item(0));