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