[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Value of the variable

Subject: RE: Value of the variable
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Nov 2009 13:24:56 +0530
RE:  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:

<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@xxxxxxxxxxxxxxxxxxxx
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.