|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Eliminating leading zeros
On 8/21/06, Mark Wilson <drmark@xxxxxxxxxxxxxxx> wrote:
<xsl:sort select="replace(., '\s\D*', '')" data-type="number"/> <xsl:sort select="replace(., '\d*\s', '')" data-type="text"/> Otherwise you will need to pick a suitably large number of zeros to pad and hope a longer number never appears, or find the maximum length for all the numbers up front... cheers andrew
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








