RE: looping through tags in XSL

Subject: RE: looping through tags in XSL
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 14 Jul 2000 18:27:31 +0100
> The problem I am having is I want to generate an XSL that 
> will output to
> HTML a user-specified amount of these <TECHNOLOGY> nodes with 
> all of its
> child nodes in HTML.

<xsl:param name="limit" select="10"/>
<xsl:template match="TECHNOLOGIES">
<xsl:apply-templates select="TECHNOLOGY[position() &lt; $limit]"/>
</xsl:template>

Mike Kay


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


Current Thread