|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] sorting text-number strings?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








