On 21 Nov 2014, at 15:09, Dimitre Novatchev dnovatchev(_at_)gmail(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
On Fri, Nov 21, 2014 at 1:51 AM, Michael Kay <mike(_at_)saxonica(_dot_)com>
wrote:
We ought really to make a more careful distinction between "visibility to
the calling application" and "visibility to a using package".
Stylesheet parameters are not visible to a using package (because we want to
allow packages to be compiled independently of each other),
but they are visible to the calling application (because otherwise they
would be pointless).
What if the value of a static stylesheet parameter was used to make
compile-time decisions (as in the "use-when" attribute on an
"xsl:import" declaration)? Wouldn't providing by the caller a
different value for this static parameter require a new compilation of
the already compiled package?
The point about static parameters is that their values must be supplied at
compile time.
Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--