- From: <bugzilla@jessica.w3.org>
- Date: Fri, 10 Aug 2012 16:00:24 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18524 --- Comment #1 from Michael Kay <mike@saxonica.com> 2012-08-10 16:00:24 UTC --- Personal response: We've tended to resist requests for call-template and apply-templates to be more dynamic, because sometimes allowing them to be more dynamic can inhibit optimizations even when the facility is not used. My instinct is that with higher-order functions in XSLT 3.0, there is a pretty clean and well understood way of doing this kind of thing. At its simplest, you could have for each mode a function that does apply-templates to a supplied set of nodes in that mode, and then you could bind a function item to the one of these functions that you wish to be invoked. You could even have a map that indexes these functions by mode name, allowing the dynamic apply templates call to take the form $mode-map($mode)($nodes) We're also getting to the point where we are trying to close the spec for XSLT 3.0 down, that is, to resist new "good ideas" unless the case is very strong. -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Friday, 10 August 2012 16:00:27 UTC