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