/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
thisObj = sobj; if(!(sobj instanceof org.mozilla.javascript.xml.XMLObject)) {  func = org.mozilla.javascript.ScriptableObject.getProperty(sobj, methodName);};
if ( sobj != null ) { thisObj = sobj; if ( ! ( sobj instanceof XMLObject ) ) { func = ScriptableObject.getProperty ( sobj, methodName ) ; }
XMLObject xmlObject = (XMLObject) sobj; func = xmlObject.getFunctionProperty(cx, methodName); if (func != Scriptable.NOT_FOUND) { break; } sobj = xmlObject.getExtraMethodSource(cx); <extra_id_0> } } if (!(func instanceof Callable)) { throw ScriptRuntime.notFunctionError(thisObj, func, methodName); } return ((Callable) func).call(cx, scope, thisObj, args);