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