|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: recursive call-template problem
omprakash
Also, How do I express the following in xsl: One way is to call recursively, like so. The following, untested, prints "foo" 10 times: <xsl:call-template name="do-something"> <xsl:with-param name="iter" select="10"/> </xsl:call-template>
<xsl:if test="$iter > 0"
<xsl:text>foo</xsl:text>
<xsl:call-template name="do-something">
<xsl:with-param name="iter" select="$iter - 1"/>
</xsl:call-template>
</xsl:if>
</xsl:template>Regards, --A _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








