Here is the clue I got earlier this week
Have a look at format-number(), you will need something like:
<xsl:value-of select="format-number(.,0)"/>
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Kotes Mogili
Sent: Tuesday, March 16, 2004 2:18 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Removing leading zeros from String like 000747-918-1212
Hi,
I am trying to remove leading zeros from a String like "000747-918-1212"
. Please let me know if there is any function available in XSL to do
this.
Thanks for your time
Thanks
kotes
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Confidentiality Notice
The information contained in this e-mail is confidential and intended for use
only by the person(s) or organization listed in the address. If you have
received this communication in error, please contact the sender at O'Neil &
Associates, Inc., immediately. Any copying, dissemination, or distribution of
this communication, other than by the intended recipient, is strictly
prohibited.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list