/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
insert( index + i, list.item( i) ) ; for ( int i = 1; i < list.length( ) ; i++) {
for ( int i = 1; i < list.length ( ) ; i++ ) { insert ( index + i, list.item ( i ) ) ;
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)); <extra_id_0> } } } } else { addToList(xmlValue); }