Varadharajan Sethuraman wrote:

Hi All,
I just want to know the *iteration functionality* in xsl.
for example similar to the following ...
*for(int i=0;i<10;i++){*
** *}*
or how do i achieve that functionality ... *is there any workaround?*
kindly let me know ...

This is a pure XSL question, which would be answered more thoroughly on the xsl list:


http://www.mulberrytech.com/xsl/xsl-list/

You can use xsl:for-each to cycle through all nodes in a node set determined by the select attribute.

However, xsl is not a procedural lanaguage and as such you are often better off using a series of xsl:templates and xsl:apply-templates to achieve what you want.

Chris





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to