RE: [xsl] Using variables in xsl:sort select attribute

Subject: RE: [xsl] Using variables in xsl:sort select attribute
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 25 May 2001 12:45:52 +0100
> Thanks! That worked great. I still don't understand why I
> couldn't use a
> variable as the argument of the select attribute though.

Because you are sorting by the value of the variable, which is the same for
all nodes. You are not sorting by the value of the expression contained in
the value of the variable.

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread