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

Re: [xsl] Muenchian Grouping with Position() Constraints


Subject: Re: [xsl] Muenchian Grouping with Position() Constraints
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 13 Jun 2003 15:22:57 +0100

<xsl:key name="x" match="name" use="lname"/>

...

<xsl:for-each select="(names/name[generate-id(.)=generate-id(key('x',lname))])[position()&gt;3]">
<name>
<xsl:copy-of select="lname"/>
<first>
<xsl:copy-of select="key('x',lname)/fname"/>
</first>
</name>
</xsl:for-each>

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread