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