Subject: Re: [xsl] Dynamic pipelining in XSLT 2.0 w/ Saxon extensions|
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 19 Jun 2007 22:27:37 +0100
>From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
>The other thing that would be really good is if calls to doc() using >references that are known at compile time are also compiled - >currently if you have a call to doc('config.xml') in your compiled >stylesheet and you run a transform 100 times then config.xml gets >fetched 100 times.
That behaviour is not specified by the XPath and XSLT specifications.
I didn't think compiling stylesheets was covered by the spec either? It would be a implementation specific enhancement...