RE: returning a value with no preceding zeros2004-03-15 08:58:23I 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
|
|