Subject: loop through comma seperated values
From: Ramesh Kumar <cnrameshkumar@xxxxxxxxx>
Date: Thu, 1 Apr 2010 19:06:35 +0400
|
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
|