This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: TOKENISER
- From: "cutlass" <cutlass at secure0 dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 27 Feb 2002 13:54:24 -0000
- Subject: Re: [xsl] TOKENISER
- References: <20020227134540.11463.qmail@mailweb30.rediffmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
----- Original Message -----
From: "Jinkx" <vsd18@rediffmail.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Wednesday, February 27, 2002 1:45 PM
Subject: [xsl] TOKENISER
>
>
> hi
> i have a variable day defined as
> <xsl:variable name = "day" select="/date"/>
>
> which has a value Tuesday 26 February 2002
>
> can i separate each of them to get
>
> Tuesday
> 26
> February
> 2002
>
> using some kind of string functions in xsl..
> i am not able to separate them
try the exslt library function
http://www.exslt.org/str/functions/tokenize/index.html
here is the xslt template
http://www.exslt.org/str/functions/tokenize/str.tokenize.template.xsl
otherwise there is also
standard library
http://xsltsl.sourceforge.net/
cheers, jim fuller
>
> jinkx
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list