Re: [xsl] a sorting conundrum

Subject: Re: [xsl] a sorting conundrum
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 03 Mar 2005 20:22:29 +0000
>>>>> "David" == David Carlisle <davidc@xxxxxxxxx> 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

Current Thread