Of course you could save your query optimiser the effort of taking the
fixed expression out of the loop, and write instead
<xsl:variable name="seq" select="tokenize($param,'\s*,\s*')"/>
... select="/root/store[(_at_)location=$seq]"
but I think saxon will do this anyway
Saxon will evaluate it outside the predicate as a local variable, but won't
promote it to a global variable (that's on my TODO list...)
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--