This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

order-by: char or int?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]