xsl-list
[Top] [All Lists]

RE: Optimization Question

2005-02-01 16:41:15

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>
--~--



<Prev in Thread] Current Thread [Next in Thread>