xsl-list
[Top] [All Lists]

Subject: Sorting alpha numeric values

2003-05-09 01:03:03
Sorry, I trivialized my sample.  Will try again.

I want to sort a data set:
<Root>
<Elem val = "A1"/>
<Elem val = "A21Value"/>
<Elem val = "A21Fred"/>
<Elem val = "A3George"/>
<Elem val = "B3Value"/>
<Elem val = "B10Valuf"/>
</Root>

Into:
A1
A3George
A21Fred
A21Value
B3Value
B10Valuf

Sorting by the number and alpha prefix is essential, sorting by any
suffix of numbers and alphas would be 'icing on the cake'.
Thanks again

Hugh Dixon

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>