next = getMajorCaller(context);
return new ContextStackFrame.BuiltInTemplateRule();
}
if (construct == Location.FUNCTION_CALL) {
ContextStackFrame.FunctionCall sf = new ContextStackFrame.FunctionCall();
UserFunctionCall ufc = (UserFunctionCall)origin;
sf.setSystemId(ufc.getSystemId());
sf.setLineNumber(-1); //(ufc.getLineNumber());
sf.setContainer(ufc.getContainer());
sf.setFunctionName(ufc.getFunctionName());
sf.setContextItem(context.getContextItem());
next = getMajorCaller(context);
return sf;
} else if (construct == StandardNames.XSL_APPLY_TEMPLATES) {
ContextStackFrame.ApplyTemplates sf = new ContextStackFrame.ApplyTemplates();