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