This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL Sort and Xalan
- To: xsl-list at mulberrytech dot com
- Subject: RE: XSL Sort and Xalan
- From: Don Bruey <dbruey at CreativeSolutions dot com>
- Date: Thu, 3 Aug 2000 13:36:36 -0400
- Reply-To: xsl-list at mulberrytech dot com
Try <xsl:sort order="ascending" select="{$item}"/>
(note curly brackets.)
Don
-----Original Message-----
From: Bryce Wells [mailto:bryce@impulseradio.com]
Sent: Thursday, August 03, 2000 1:13 PM
To: xsl-list@mulberrytech.com
Subject: XSL Sort and Xalan
>From a previous post (not sure when), I thought I read that this was a bug,
but can't verify and the Xalan bug database is down.
I am generating a table in HTML from dynamic XML with 4 columns, any of
which I'd like the end-user to be able to sort. I have a parameter set in my
stylesheet <xsl:param name="item"/> that I'm trying to use to set the
column that should be sorted, but it is not working. No errors, just not
working.
This is how I am passing to the sort function:
<xsl:sort order="ascending" select="$item"/>
My question is - am I doing this incorrectly? or, can you not pass
parameters to the xsl:sort element in Xalan?
Any help would be greatly appreciated.
Thanks,
Bryce
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list