|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








