| Subject: RE: [xsl] Value of the variable From: "Joga Singh Rawat" <jrawat@xxxxxxxxxxxxxx> Date: Thu, 26 Nov 2009 16:45:19 +0530 | 
Dear ken that is typing mistakes!!!
Input:
<p>a, b, <i>c</i>, <b>d</b></p>
 
Xsl:
<xsl:template match="p">
  <xsl:variable name="txt-with-node" select="."/>
  <a-g>
    <xsl:for-each select="tokenize($txt-with-node,', ')">
     <a><xsl:value-of select="."/></a>
   </a-g>
  </xsl:if>
</xsl:template>
Required output
<a-g>
     <a>a</a>
     <a>b</a>
     <a><i>c</i></a>
     <a><b>d</b></a>
   </a-g>
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Value of the variable, G. Ken Holman | Thread | RE: [xsl] Value of the variable, Michael Kay | 
| RE: [xsl] Value of the variable, G. Ken Holman | Date | Re: [xsl] Value of the variable, Hermann Stamm-Wilbra | 
| Month |