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