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