xsl-list
[Top] [All Lists]

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

2019-12-15 18:20:21

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

--~----------------------------------------------------------------
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
--~--
<Prev in Thread] Current Thread [Next in Thread>