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

Re: Re: Sorting upper and lower case separately.

Subject: Re: Re: Sorting upper and lower case separately.
From: "Brian Burridge" <brian_burridge@xxxxxxxxxxxxx>
Date: Thu, 21 Feb 2002 12:00:22 -0500
Re: Re:  Sorting upper and lower case separately.
> Oops =)

> Of course you will have to use substring() to only use the first letter of
> the name attribute in the comparison
> i.e.

>        <xsl:for-each select="substring(@name,1,1) =
> upper-case(substring(@name,1,1))">
> and
>        <xsl:for-each select="substring(@name,1,1) =
> lower-case(substring(@name,1,1))">

> Hope this helps

> Regards

> Carsten

Do you know how I would work that in with the for each that I'm using:
<xsl:for-each select="key('elements', type)">

I'm not sure how to get at the name (which is "Foundation.Core.ModelElement.name") in order to do a substring on it.

Brian N. Burridge
Sr. Internet Developer Analyst
The Internet Group @ Cox Target Media


 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.