xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Getting rid of leading zeros in format-number


Subject: Re: [xsl] Getting rid of leading zeros in format-number
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Tue, 27 Nov 2001 15:40:30 -0500

.. From: Chuck White <chuckwh@xxxxxxxxxxx>
.. Subject: [xsl] Getting rid of leading zeros in format-number
..
.. Is there a way to delete leading 0s in a number using format-number()? I
.. know how to get rid of trailing 0s, but not leading. I would like
..
.. 0004
..
.. to become
..
.. 4
..

Use ###0 as your format pattern.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor