This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: looping through tags in XSL
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: looping through tags in XSL
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 14 Jul 2000 18:27:31 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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() < $limit]"/>
</xsl:template>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list