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