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

RE: sort order="descending" question

Subject: RE: sort order="descending" question
From: "Jessica P. Hekman" <jphekman@xxxxxxxxxxxx>
Date: Thu, 7 Aug 2003 17:18:53 -0400 (EDT)
order by descending
On Thu, 7 Aug 2003, Jeff Beadle wrote:

> By default the xsl:sort will treat the datatype of the @select as "text" ...
> you just need to define yours as "number".
> The xsl:sort/@data-type attribute has two enumerations:  "text" and
> "number";
> This should do the trick:
>    <xsl:sort select="position()" order="descending" data-type="number"/>

That works perfectly.

Thanks so much; I feel like an idiot for not figuring that out.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.