/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
result = toString( ).equals( null) ;
result = toString ( ) .equals ( otherStr ) ;
XMLList otherList = (XMLList) target; if (otherList.length() == 1) { result = equivalentXml(otherList.getXML()); } } else if (hasSimpleContent()) { String otherStr = ScriptRuntime.toString(target); <extra_id_0> } return result; } @Override XMLObjectImpl copy() { return newXML(this.node.copy());