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