xsl-list
[Top] [All Lists]

Re: format strings

2005-01-17 13:55:10
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(_at_)pandora(_dot_)be>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit Bhaskar, Rajan
<RBhaskar(_at_)cvs(_dot_)com>:

 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>