/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
this.node.replaceWith(value.node);
if ( this.node.parent ( ) != null ) { this.node.replaceWith ( value.node ) ; } else { this.initialize ( value.node ) ; }
} @Override final XML getXML() { return this; } void replaceWith(XML value) { <extra_id_0> } XML makeXmlFromString(XMLName name, String value) { try { return newTextElementXML(this.node, name.toQname(), value); } catch (Exception e) { throw ScriptRuntime.typeError(e.getMessage());