Re: [xsl] Running the same transformation on many input files, optimisation possible?

Subject: Re: [xsl] Running the same transformation on many input files, optimisation possible?
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Dec 2019 00:20:15 -0000
> Does Saxon implement the semantics of
>  "cache" : true()
>
> as per the Spec?
>

If cache:true() is set then Saxon's implementation of fn:transform() will
cache and reuse a compiled stylesheet provided that it does not use static
parameters.

The spec of course does not mandate any particular implementation. It merely
says that "The value true indicates an expectation that the same stylesheet is
likely to be used for more than one transformation; the value false indicates
an expectation that the stylesheet will be used once only."

Michael Kay
Saxonica

Current Thread