Subject: Re: [xsl] order-by: char or int? From: "Joerg Heinicke" <joerg.heinicke@xxxxxx> Date: Fri, 14 Dec 2001 21:54:17 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] order-by: char or int?, TP | Thread | Re: [xsl] order-by: char or int?, TP |
[xsl] order-by: char or int?, TP | Date | Re: [xsl] for-each order, Charly |
Month |