/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLWithScope.java
_currIndex = idx;_currIndex = 0;
_currIndex = 0;
XMLWithScope(XMLLibImpl lib, Scriptable parent, XMLObject prototype) { super(parent, prototype); this.lib = lib; } void initAsDotQuery() { XMLObject prototype = (XMLObject) getPrototype(); <extra_id_0> _dqPrototype = prototype; if (prototype instanceof XMLList) { XMLList xl = (XMLList) prototype; if (xl.length() > 0) { setPrototype((Scriptable) (xl.get(0, null))); }