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