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