Subject: RE: [xsl] format strings From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Mon, 17 Jan 2005 21:04:11 -0000 |
Use translate(., '-', '') to get rid of hyphens in a string. This isn't a number, so format-number() is irrelevant. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Bhaskar, Rajan [mailto:RBhaskar@xxxxxxx] > Sent: 17 January 2005 20:06 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] format strings > > Hi, > How to format string like > if i want the phone number to be changed from 111-222-3333 to > 1112223333. > How to i do this.The format-number looks like it only works for number > but i'm fetching this value from attribute
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] format strings, David Carlisle | Thread | RE: [xsl] format strings, Bhaskar, Rajan |
RE: [xsl] Entity Questions, Michael Kay | Date | RE: [xsl] format strings, Michael Kay |
Month |