This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Using variables in xsl:sort select attribute
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Using variables in xsl:sort select attribute
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 25 May 2001 12:45:52 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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