/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java
XMLName xmlName = lib.toXMLName( cx, arg( args, 0) ) ;XMLName xmlName = lib.toXMLNameOrIndex( cx, id) ;
XMLName xmlName = lib.toXMLNameOrIndex ( cx, id ) ;
Context cx = Context.getCurrentContext(); return getXMLProperty(lib.toXMLNameFromString(cx, name)); } @Override public final void put(Context cx, Object id, Object value) { if (cx == null) cx = Context.getCurrentContext(); <extra_id_0> if (xmlName == null) { long index = ScriptRuntime.lastUint32Result(cx); put((int) index, this, value); return; } putXMLProperty(xmlName, value);