|
Subject: RE: [xsl] Value of the variable From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 26 Nov 2009 14:35:54 +0530 |
What _exactly_ do you want returned from "a, b, <i>c</i>, <b>d</i>"? If people do not tell us what they want, it is difficult (and a waste of volunteer time) to keep guessing what people are asking for.
==>Sorry ken, I can understand that. What I thought that if I get the value in the variable then I can do it easily. I was trying to do below
<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-z> </xsl:if> </xsl:template>
<a-g>
<a>a</a>
<a>b</a>
<a>c</a>
<a>d</a>
</a-g> <a-g>
<a>a</a>
<a>b</a>
<a><i>c</i></a>
<a><b>d</b></a>
</a-g>-- Vote for your XML training: http://www.CraneSoftwrights.com/m/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/m/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/m/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Value of the variable, Florent Georges | Thread | RE: [xsl] Value of the variable, Joga Singh Rawat |
| Re: [xsl] Value of the variable, Florent Georges | Date | RE: [xsl] Value of the variable, Joga Singh Rawat |
| Month |