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

RE: Sort problem

Subject: RE: Sort problem
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 26 Jan 2001 11:18:14 -0000
RE:  Sort problem
> 
> a, 1, 1, 1
> a, 1, 1, 3
> a, 1, 2, 2
> a, 1, 2, 3
> A, 1, 1, 2
> A, 1, 2, 1
> 
> which is not what I want. The desired output should be:
> 
> a, 1, 1, 1
> A, 1, 1, 2
> a, 1, 1, 3
> A, 1, 2, 1
> a, 1, 2, 2
> a, 1, 2, 3
> 
> thus ingoring capital letters. 

I think you want your primary sort key to be:
xsl:sort select="translate(., 'ABC...', 'abc....')" 

Mike Kay

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


Current Thread
  • Sort problem
    • Mick - Fri, 26 Jan 2001 04:58:16 -0500 (EST)
      • Michael Kay - Fri, 26 Jan 2001 06:16:26 -0500 (EST) <=
        • Mick - Fri, 26 Jan 2001 06:31:12 -0500 (EST)
      • <Possible follow-ups>
      • Eyal Shneider - Fri, 26 Jan 2001 05:24:16 -0500 (EST)
        • Mick - Fri, 26 Jan 2001 05:45:03 -0500 (EST)
      • Eyal Shneider - Fri, 26 Jan 2001 06:10:05 -0500 (EST)

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.