/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
if ( index != ( -1) ) {   insertChildrenAt( index, toInsert) ; }
[Delete]
insertChildAfter(childToReplace, xml); removeChild(index); } return this; } XML prependChild(Object xml) { <extra_id_0> this.node.insertChildrenAt(0, getNodesForInsert(xml)); } return this; } XML appendChild(Object xml) { if (this.node.isParentType()) {