[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL Sort and Xalan

Subject: RE: XSL Sort and Xalan
From: Don Bruey <dbruey@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Aug 2000 13:44:26 -0400
xalan xsl sort
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.