/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
firstXml = null;
firstXml = xmlObj;
if (scope instanceof XMLWithScope) { xmlObj = (XMLObjectImpl) scope.getPrototype(); if (xmlObj.hasXMLProperty(xmlName)) { break; } if (firstXml == null) { <extra_id_0> } } scope = scope.getParentScope(); if (scope == null) { xmlObj = firstXml; break;