/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
return this;
if ( !isElement ( ) ) return this; while ( this.node.getChildCount ( ) > 0 ) { this.node.removeChild ( 0 ) ; }
this.node.insertChildrenAt(index + 1, toInsert); } } return this; } XML setChildren(Object xml) { <extra_id_0> XmlNode[] toInsert = getNodesForInsert(xml); this.node.insertChildrenAt(0, toInsert); return this; } private void addInScopeNamespace(Namespace ns) { if (!isElement()) {