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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--