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