[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: TOKENISER
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Wed, 27 Feb 2002 13:54:24 -0000
----- Original Message ----- 
From: "Jinkx" <vsd18@xxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, February 27, 2002 1:45 PM
Subject:  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


Current Thread
  • TOKENISER
    • Jinkx - Wed, 27 Feb 2002 08:42:50 -0500 (EST)
      • cutlass - Wed, 27 Feb 2002 08:57:15 -0500 (EST) <=
      • Jeni Tennison - Wed, 27 Feb 2002 09:18:40 -0500 (EST)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member