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