Subject: [xsl] sorting on decimal From: Don Smith <dsmith_lockesmith@xxxxxxxxx> Date: Fri, 15 May 2009 11:33:52 -0700 (PDT) |
I'm sorting a series of chapters based upon the chapter number. The numbering system is decimal: 3.9.1 3.9.2 3.9.3 and so on. My problem is that when the base of one portion of the decimal rolls over, for example, when it goes: 3.9.9 3.9.10 3.9.11 The last two chapters are being sorted prior to 3.9.2. I'm currently casting the sort key value to xsd:decimal <xsl:sort select="xsd:decimal(@number)" /> but it's not producing the desired sort order. What am I missing? Thanks, Don
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Parameters to XSL from Ja, List Owner | Thread | Re: [xsl] sorting on decimal, Christopher R. Maden |
Re: [xsl] Parameters to XSL from Ja, Martin Honnen | Date | Re: [xsl] Parameters to XSL from Ja, List Owner |
Month |