/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
if ( ( otherList.length( ) ) == 1) {   result = equivalentXml( otherList.getXML( ) ) ; }
[Delete]
return this.node .toXmlString(getProcessor()) .equals(((XML) target).node.toXmlString(getProcessor())); } else if (target instanceof XMLList) { XMLList otherList = (XMLList) target; if (otherList.length() == 1) { <extra_id_0> } } else if (hasSimpleContent()) { String otherStr = ScriptRuntime.toString(target); result = toString().equals(otherStr); } return result;