diff --git a/include/XSLT/impl/xslt_stylesheet.hpp b/include/XSLT/impl/xslt_stylesheet.hpp index 3223ae19..59bf5835 100755 --- a/include/XSLT/impl/xslt_stylesheet.hpp +++ b/include/XSLT/impl/xslt_stylesheet.hpp @@ -180,6 +180,8 @@ public: void applyImports(const DOM::Node& node, ExecutionContext& context) const { + StackFrame frame(context); + doApplyTemplates(node, context, current_mode_, current_generation_+1); } // applyImports