[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSL FO TOC for an indexing document


Subject: Re: [xsl] XSL FO TOC for an indexing document
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 15 Mar 2009 22:06:07 GMT

> how do I distinguish 
> 'interesting' <Heading> elements (those with an initial occurrence of a 
> letter) from their less interesting cousins (those with later occurrences)?


<xsl:for-each-group select="Item/Heading" group-by="substring(.,1,1)">
. here is the first occurrence of each first letter.


David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread