Re: Eliminating leading zeros
<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...
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