This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Sorting upper and lower case separately.
- From: "Carsten Klein" <carstenklein at yahoo dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 19 Feb 2002 21:07:03 +0100
- Subject: Re: Re: [xsl] Sorting upper and lower case separately.
- References: <EA504C796663404DB5D8D5AF4EBE009EF3EFFA@exchange.coxtarget.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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 Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list