Subject: sorting text-number strings? From: Bill Parod <bill-parod@xxxxxxx> Date: Fri, 14 Apr 2000 09:31:18 -0500 |
I want to sort values of the form: "title 1, title2, some other name, title 3, ..., title 9, title 10, title 11" which include both alpha and numeric characters. I would like the sort to treat alpha characters alphabetically and numeric characters numerically. <xsl:sort select="." data-type="text"> gives results: .., title1, title 10, title 11, title 2, title 3..., <xsl:sort data-type="number"> gives results that aren't alphabetized. Is there a way to achieve a sort with results?: title 1, title2, title 3,..., title 9, title 10, title 11 I must be missing something. Thanks, Bill Parod Information Technology Northwestern University, Evanston, IL. USA bill-parod@xxxxxxx http://charlotte.acns.nwu.edu/parod/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
XSLT, the beginning of a new paradi, Khun Yee Fung | Thread | Re: sorting text-number strings?, David Carlisle |
XSLT, the beginning of a new paradi, Khun Yee Fung | Date | Re: sorting text-number strings?, David Carlisle |
Month |