/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
XmlNode[] toInsert = getNodesForInsert ( xml ) ; int index = getChildIndexOf ( child ) ;
return -1; } XML insertChildBefore(XML child, Object xml) { if (child == null) { appendChild(xml); } else { <extra_id_0> if (index != -1) { this.node.insertChildrenAt(index, toInsert); } } return this; }