Subject: breaking sorted material into subsections From: Eric Taylor <Eric.Taylor@xxxxxxxxxxxx> Date: Fri, 15 Sep 2000 12:45:03 -0500 |
Currently have this in my xsl: <xsl:for-each select="//index"> <xsl:sort select="@entry"/> <p><a href="{../@location}"><xsl:value-of select="@entry"/></a></p> </xsl:for-each> this correctly sorts my index by @ entry, but I can't figure out a clean way to insert section headings for each letter of the alphabet. I.e., my output is like: Aaaa Abb Az Ba Bz Ca but what I want is something like: <H2>A</H2> Aaaa Abb Az <H2>B</H2> Ba Bz <H2>C</H2> Ca Can someone point me in the right direction... Thanks. Eric XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Needed traversing code for ......, lvenki | Thread | RE: breaking sorted material into s, Don Bruey |
Re: space replaced with %20, Francis Norton | Date | Re: space replaced with %20, Jon Smirl |
Month |