Using XSL, how do I sort on a field that is character but really contains numeric data? For instance:
<xsl:for-each select="./orderlines/orderline" order-by="linenum" >
creates output sorted as 1,10,11,12,13,14,15,16,17,18,19,20,2,.......
I need to cast the char to an int in XSL - but don't know how to do that.
Any ideas?
Thanks
Tim Ryan
<xsl:for-each select="./orderlines/orderline" order-by="linenum" >
creates output sorted as 1,10,11,12,13,14,15,16,17,18,19,20,2,.......
I need to cast the char to an int in XSL - but don't know how to do that.
Any ideas?
Thanks
Tim Ryan