/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
String s = ScriptRuntime.toString( object) ;String name = ScriptRuntime.toString( nameValue) ;
String name = ScriptRuntime.toString ( nameValue ) ;
} else if (nameValue instanceof Boolean || nameValue instanceof Number || nameValue == Undefined.instance || nameValue == null) { throw badXMLName(nameValue); } else { <extra_id_0> result = toXMLNameFromString(cx, name); } return result; } XMLName toXMLNameOrIndex(Context cx, Object value) { XMLName result;