[Bug 9277] [XSLT 2.1] Allow client application to set initial template parameters

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9277





--- Comment #4 from Michael Kay <mike@saxonica.com>  2010-03-20 00:12:12 ---
Yes, it does reopen that possibility. There was debate about allowing direct
calling of stylesheet functions during 2.0 development. It would be a rather
radical change to the culture, because a stylesheet/transform then no longer
necessarily produces a result tree, it can also be used for example to select
nodes from the source document (which makes it a query, in effect). But at the
same time, it's in other ways a rather trivial change: since the functions are
there, why not allow them to be called?

(Note that for direct calling of named templates we do ensure that any results
of the template are wrapped in a result document. We could do the same if we
allowed direct function calling. But I don't think that's what users would
expect to happen.)


-- 
Configure bugmail: http://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 Saturday, 20 March 2010 00:12:14 UTC