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(_at_)cvs(_dot_)com]
Sent: 17 January 2005 20:06
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
--~------------------------------------------------------------------
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>
--~--