Re: [xsl] dividing a structure into fractions

Subject: Re: [xsl] dividing a structure into fractions
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 6 Jul 2005 16:32:56 +0100
<xsl:for-each select="*[position() mod 3 = 1">
 <part>
 <xsl:copy-of select=".|following-sibling::*[position() &lt; 3"/>
 </part>
</xsl:for-each>

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________

Current Thread