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

Re: [xsl] format strings


Subject: Re: [xsl] format strings
From: "Luke Shannon" <lshannon@xxxxxxxxxxxxxxx>
Date: Mon, 17 Jan 2005 15:55:10 -0500

Hi John;

I wonder if I could use the same function to sub a <p> for a <fo:block> in a
string?

Luke
----- Original Message ----- 
From: "Joris Gillis" <roac@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, January 17, 2005 3:55 PM
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(.,'-','')"/>
>
> regards,
> -- 
> Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
> "Et ipsa scientia potestas est"  - Francis Bacon , Meditationes sacrae


Current Thread