Subject: Re: Re: [xsl] Sorting upper and lower case separately. From: "Brian Burridge" <brian_burridge@xxxxxxxxxxxxx> Date: Thu, 21 Feb 2002 12:00:22 -0500 |
> 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Re: [xsl] Sorting upper and low, Carsten Klein | Thread | [xsl] Grouping (yet again), Steven Noels |
Re: [xsl] attribute order, David Carlisle | Date | [xsl] passing parameter via asp, 林 子芯 |
Month |