Subject: Re: [xsl] XSLT3.0: Question about shadow attributes and the possibility to supply value to a static parameter From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 21 Nov 2014 15:23:24 -0000 |
On 21 Nov 2014, at 15:09, Dimitre Novatchev dnovatchev@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > On Fri, Nov 21, 2014 at 1:51 AM, Michael Kay <mike@xxxxxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT3.0: Question about s, Dimitre Novatchev dn | Thread | Re: [xsl] XSLT3.0: Question about s, Michael Kay mike@xxx |
Re: [xsl] XSLT3.0: Question about s, Dimitre Novatchev dn | Date | Re: [xsl] XSLT3.0: Question about s, Michael Kay mike@xxx |
Month |