This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: looping through tags in XSL


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]