Re: [xsl] for-each a specified no of times

Subject: Re: [xsl] for-each a specified no of times
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 14 Dec 2005 22:57:44 GMT
You can't break out of a loop (all the iterations may be executed in
parallel, so it's not clear what that would mean) but if you just want
to iterate over the first three data elements, just select 3 of them:

<xsl:for-each select="(DATA/Table[@Name='clients']/data)[position()&lt;4]">

David

________________________________________________________________________
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