[xsl] simple conditional looping

Subject: [xsl] simple conditional looping
From: "Keyur K" <kkeyur@xxxxxxxxxxx>
Date: Mon, 16 Aug 2004 08:31:35 +0000
Hello Members,

I want to write a simple loop statement like for($i=1; $i <= 50; $i++) in my stylesheet to generate 50 tr (table rows).

I am not sure how I can do this. I tried using <xsl:for-each/> but it just loops through the nodes. I cannot specifiy any conditional test like in <xsl:if /> .

How can I achieve this? Pl. advice.

Thanks & Regards,
Keyur

Current Thread