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:
<xsl:copy-of select="$txt-with-node"/>
==>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
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(_at_)CraneSoftwrights(_dot_)com
Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--