|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: order-by: char or int?
Use XSL (that means change namespace to http://www.w3.org/1999/XSL/Transform, more information at www.netcrucible.com), use <xsl:sort> instead of order-by and set the attribute data-type (more information at http://www.w3.org/TR/xslt#sorting). Regards, Joerg > My xsl:for-each looks like this > > <xsl:for-each select="PrintCabinate/item" order-by="+ Name;currentPage"> > ---- > </xsl:for-each > > Now while sorting it, it assumes that currentPage is char, so it places 11 > before 7 for eg, whereas 7 shud be b4 11. > > is there a way to convert currentPage to int for the purpose of sorting. > > Thanks in advance. > > TP XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








