[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] format strings

Subject: RE: [xsl] format strings
From: "Bhaskar, Rajan" <RBhaskar@xxxxxxx>
Date: Mon, 17 Jan 2005 16:12:47 -0500


-----Original Message-----
From: Joris Gillis [mailto:roac@xxxxxxxxxx]
Sent: Monday, January 17, 2005 3:56 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] format strings

Tempore 21:06:19, die 01/17/2005 AD, hinc in
xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Bhaskar, Rajan <RBhaskar@xxxxxxx>:

>  How to format string like
> if i want the phone number to be changed from 111-222-3333 to
> 1112223333.
So you want to 'get rid of' the formatting?
You could do that with e.g. <xsl:value-of select="translate(.,'-','')"/>

Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
"Et ipsa scientia potestas est"  - Francis Bacon , Meditationes sacrae

Current Thread