This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: TOKENISER



----- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]