/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
XmlNode[] nodes = getNodesForInsert( xml) ; if ( this.node.isParentType( ) ) {
if ( this.node.isParentType ( ) ) { XmlNode[] nodes = getNodesForInsert ( xml ) ;
if (this.node.isParentType()) { this.node.insertChildrenAt(0, getNodesForInsert(xml)); } return this; } XML appendChild(Object xml) { <extra_id_0> this.node.insertChildrenAt(this.node.getChildCount(), nodes); } return this; } private int getChildIndexOf(XML child) { for (int i = 0; i < this.node.getChildCount(); i++) {