"David" == David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> writes:
>> You can remove that assumption of an intelligent optimizer, by
>> placing the common sub-expression into a variable.
David> only in xslt2, the sort key has to be a single xpath, so
David> you can't bind variables in xpath1.
Ah. I tend to forget about that old xslt 1.0 thing :-)
I also note that the original problem doesn't state which processor or
version of xslt.
--
Colin Paul Adams
Preston Lancashire
--~------------------------------------------------------------------
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>
--~--