Thanks to all for the info I used this modified
-----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
Andrew Welch
Sent: Monday, March 15, 2004 10:58 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] returning a value with no preceding zeros
I want to test and attribute value and return only whole numbers For
instance if the attribute is 001 I want the returned value to be just
1 if it is 002 value should be 2 and so on.
Can any one give me a clue here?
Have a look at format-number(), you will need something like:
<xsl:value-of select="format-number(.,0)"/>
cheers
andrew
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