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