Subject: Re: How to use arrays in xsl
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Tue, 9 May 2006 10:30:59 +0530
|
It seems, you need a string tokenizer. You can write the tokenizer
yourself, or use the one available at
http://www.exslt.org/str/functions/tokenize/index.html. If you are
using XSLT 2.0, then it has built in tokenize function.
XSLT does not have arrays, as are available in languages like C or Java.
Regards,
Mukul
On 5/9/06, Jitendra Kharche <Jitendra.Kharche@xxxxxxxxxxxxxxxxxxxxx> wrote:
Hi all,
I am facing a problem while writing an xsl.
In my xml I have a comma separated values (csv) list. On each of the
value in this list I want to do some processing. For that I want to
parse the csv string and store it into an array and pass the array to a
separate template from processing. Can we do this in xsl?
Regards,
Jitendra Kharche
Geometric Software Solutions Co. Ltd.
Work: +91-20-2290 6351
|