xsl-list
[Top] [All Lists]

for-each a specified no of times

2005-12-14 13:33:41
Hi,
 
Is there a way to make a for-each loop only for a specified no of times.
 
eg
 
<xsl:for-each select="DATA/Table[(_at_)Name='clients']/data">
    <xsl:if test="position()=3">
        <xsl:break/>
    </xsl:if>
<xsl:for-each>
 
Thanks,
 
Mark Williams

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>