W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2010

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

From: <bugzilla@wiggum.w3.org>
Date: Sat, 20 Mar 2010 00:12:12 +0000
To: public-qt-comments@w3.org
Message-Id: <E1NsmIW-0008F3-Qa@wiggum.w3.org>

--- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:30 UTC