/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
XML childToReplace = xlChildToReplace.item ( 0 ) ;
}; } } XML replace(int index, Object xml) { XMLList xlChildToReplace = child(index); if (xlChildToReplace.length() > 0) { <extra_id_0> insertChildAfter(childToReplace, xml); removeChild(index); } return this; } XML prependChild(Object xml) {