/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
if ((nameValue instanceof Boolean || nameValue instanceof Number)) {
if ( nameValue instanceof XMLName ) {
} XMLName toXMLNameFromString(Context cx, String name) { return XMLName.create(getDefaultNamespaceURI(cx), name); } XMLName toXMLName(Context cx, Object nameValue) { XMLName result; <extra_id_0> result = (XMLName) nameValue; } 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);