Re: [xsl] An observation on the performance of fn:transform

Subject: Re: [xsl] An observation on the performance of fn:transform
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Jul 2020 10:12:38 -0000
A workaround would be to add another layer to the stylesheet, debug.xsl /
non-debug.xsl that sets the static parameter (by overriding it with a
variable) and then you could cache both versions.

Michael Kay
Saxonica

> On 3. Jul 2020, at 11:01, Norman Tovey-Walsh ndw@xxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Michael Kay mike@xxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
writes:
>> We currently honour cache="yes" in all cases provided that no static
>> parameters are supplied. If there are static parameters, we don't
>> attempt to check that they are consistent with previous uses, we just
>> bypass the cache.
>
> Ah. That explains why it had no effect. Ibm passing two static
> parameters. One I could eliminate, but the other is a debug flag and I
> think it would be unfortunate to lose that one.
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Tovey-Walsh <ndw@xxxxxxxxxx>
> https://nwalsh.com/
>
>> Klein bottle for rent; enquire within.

Current Thread