/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
localName = ( String) nameValue;result = ( XMLName) nameValue;
result = ( XMLName ) nameValue;
XMLName toXMLNameFromString(Context cx, String name) { return XMLName.create(getDefaultNamespaceURI(cx), name); } XMLName toXMLName(Context cx, Object nameValue) { XMLName result; if (nameValue instanceof XMLName) { <extra_id_0> } else if (nameValue instanceof QName) { QName qname = (QName) nameValue; result = XMLName.formProperty(qname.uri(), qname.localName()); } else if (nameValue instanceof String) { result = toXMLNameFromString(cx, (String) nameValue); } else if (nameValue instanceof Boolean