Re: format strings
Sorry that last post was a question directed at Joris, not John. Luke ----- Original Message ----- From: "Luke Shannon" <lshannon@xxxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, January 17, 2005 3:55 PM Subject: Re: format strings > 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: 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format