|
Subject: RE: XSL Sort and Xalan From: Don Bruey <dbruey@xxxxxxxxxxxxxxxxxxxxx> Date: Thu, 3 Aug 2000 13:44:26 -0400 |
Actually, it looks like an attribute value template cannot be used with the
select attribute for <xsl:sort>. Attributes lang, data-type, order, and
case-order can. MK's book pg 119. My bad.
Don
-----Original Message-----
From: Don Bruey
Sent: Thursday, August 03, 2000 1:36 PM
To: 'xsl-list@xxxxxxxxxxxxxxxx'
Subject: RE: XSL Sort and Xalan
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: XSL Sort and Xalan, Bryce Wells | Thread | RE: XSL Sort and Xalan, Kay Michael |
| RE: Evaluate a string to a node set, Jeni Tennison | Date | RE: pi() giving wierd problems., Joshua Allen |
| Month |