/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
if ( toAdd != XMLList) {
if ( toAdd instanceof XMLList ) {
_add(xml.getAnnotation()); } void addToList(Object toAdd) { if (toAdd instanceof Undefined) { return; } <extra_id_0> XMLList xmlSrc = (XMLList) toAdd; for (int i = 0; i < xmlSrc.length(); i++) { this._add((xmlSrc.item(i)).getAnnotation()); } } else if (toAdd instanceof XML) { this._add(((XML) (toAdd)).getAnnotation());