[XSL-LIST Mailing List Archive Home]
RE: [xsl] Value of the variable
At 2009-11-26 13:25 +0530, Joga Singh Rawat wrote:
>Is there a way by which I can get "a, b, <i>c</i>, <b>d</i>"
You need to replicate the node which is:
==>Yes!! You are right. It is working fine. But I want to tokenize it
You didn't say that before. To tokenize something is to find the
text tokens created by defining the text separators between the tokens.
and I am using
<xsl:for-each select="tokenize($txt-with-node, ', ')">
The first argument to tokenize() is a string. The return value is a
bunch of strings. You cannot use tokenize() to return nodes.
Which is not working.
"not working" according to what requirement?
Please suggest what?
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.
Thank you for clarifying your requirement.
. . . . . . . . . Ken
Vote for your XML training: http://www.CraneSoftwrights.com/s/i/
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
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/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal