/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
if ( i < list.length()) {
if ( value instanceof XML ) {
XMLList processingInstructions(XMLName xmlName) { XMLList rv = newXMLList(); this.node.addMatchingChildren(rv, XmlNode.Filter.PROCESSING_INSTRUCTION(xmlName)); return rv; } private XmlNode[] getNodesForInsert(Object value) { <extra_id_0> return new XmlNode[] {((XML) value).node}; } else if (value instanceof XMLList) { XMLList list = (XMLList) value; XmlNode[] rv = new XmlNode[list.length()]; for (int i = 0; i < list.length(); i++) { rv[i] = list.item(i).node;