[xsl] order-by: char or int?

Subject: [xsl] order-by: char or int?
From: "TP" <tpass001@xxxxxxxxxxx>
Date: Fri, 14 Dec 2001 13:40:28 -0600
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