/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
insert( index + i, list.item( i) ) ; lastIndexAdded++;xmlParent.getXmlChild( lastIndexAdded) , list.item( i) ) ;
xmlParent.getXmlChild ( lastIndexAdded ) , list.item ( i ) ) ; lastIndexAdded++; insert ( index + i, list.item ( i ) ) ;
if (list.length() > 0) { int lastIndexAdded = xmlNode.childIndex(); replaceNode(xmlNode, list.item(0)); replace(index, list.item(0)); for (int i = 1; i < list.length(); i++) { xmlParent.insertChildAfter( <extra_id_0> } } } } else { xmlParent.appendChild(xmlValue); addToList(xmlParent.getLastXmlChild());