M
Michael Hamm
I'd like to sort items in an XML file using XSLT. Say I have
<item><n>Jefferson</n><n>Hancock</n><foo>bar</foo></item>
<item><n>Washington</n><foo>baz</foo></item>
<item><n>Madison</n><n>Adams</n><n>Hamilton</n><foo>blah</foo></item>
and I want to sort the items on the alphabetically first n; i.e., since
Adams is first alphabetically, I want the third item first, etc. Is there
a way to do this?
Thanks,
Michael Hamm
AM, Math, Wash. U. St. Louis
(e-mail address removed) Fine print:
http://www.math.wustl.edu/~msh210/ ... legal.html
<item><n>Jefferson</n><n>Hancock</n><foo>bar</foo></item>
<item><n>Washington</n><foo>baz</foo></item>
<item><n>Madison</n><n>Adams</n><n>Hamilton</n><foo>blah</foo></item>
and I want to sort the items on the alphabetically first n; i.e., since
Adams is first alphabetically, I want the third item first, etc. Is there
a way to do this?
Thanks,
Michael Hamm
AM, Math, Wash. U. St. Louis
(e-mail address removed) Fine print:
http://www.math.wustl.edu/~msh210/ ... legal.html