/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
if ( ( list.getXML( ) ) != null) {   return list.getXML( ) ; }else {   throw typeError( "Cannot convert list of >1 element to XML") ; }
[Delete]
if (object instanceof XML) return (XML) object; if (object instanceof XMLList) { XMLList list = (XMLList) object; if (list.getXML() != null) { return list.getXML(); } else { <extra_id_0> } } if (object instanceof Wrapper) { object = ((Wrapper) object).unwrap(); } if (object instanceof org.w3c.dom.Node) {