RE: XSL Sort and Xalan

Subject: RE: XSL Sort and Xalan
From: Don Bruey <dbruey@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Aug 2000 13:36:36 -0400
Try <xsl:sort order="ascending" select="{$item}"/>
(note curly brackets.)


Don



-----Original Message-----
From: Bryce Wells [mailto:bryce@xxxxxxxxxxxxxxxx]
Sent: Thursday, August 03, 2000 1:13 PM
To: xsl-list@xxxxxxxxxxxxxxxx
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


Current Thread