/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
if ( nameValue instanceof QName) {   QName qname = ( ( QName) ( nameValue) ) ;   localName = qname.localName( ) ; }else {   localName = toString( nameValue) ; }
[Delete]
|| nameValue instanceof Number || nameValue == Undefined.instance || nameValue == null) { throw badXMLName(nameValue); } else { String local = null; <extra_id_0> local = (String) nameValue; } else { local = ScriptRuntime.toString(nameValue); } return toNodeQName(cx, local, attribute); }