[xsl] Re: loop through comma seperated values

Subject: [xsl] Re: loop through comma seperated values
From: Ramesh Kumar <cnrameshkumar@xxxxxxxxx>
Date: Thu, 1 Apr 2010 19:08:23 +0400
Dear All,

I am using XSLT 1.0

On Thu, Apr 1, 2010 at 7:06 PM, Ramesh Kumar <cnrameshkumar@xxxxxxxxx> wrote:
> Dear All,
>
> I have XML document with an element having comma seperated values as below
> <RowKey>JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC,YTD</RowKey>
>
> I need to loop through the values. I tried to replace the comma","
> with "><" and used the variable in For each as below.
> <xsl:for-each select="msxsl:node-set($ColHead)">
>        <xsl:value-of select="."/>
> </xsl:for-each>
> Note: $ColHead contains the comma seperated values.
>
>
> But no luck. Any help ?
> --
>
>
> Regards,
> Ramesh
>



--


Regards,
Ramesh

Current Thread