RE: [xsl] Optimization Question

Subject: RE: [xsl] Optimization Question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 1 Feb 2005 23:41:15 -0000
> Could something like this be compiled into the Templates 
> object? (is it?)
> 
> <xsl:param
>    name="something"
>    select="document('something.xml')"/>
> 

No, at present Saxon never preevaluates the document() function. In fact,
it's about the only function it doesn't preevaluate when the arguments are
known at compile time.

Michael Kay

Current Thread