By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,952 Members | 1,693 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,952 IT Pros & Developers. It's quick & easy.

xsl:sort select matches more than one

P: n/a
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
ms****@math.wustl.edu Fine print:
http://www.math.wustl.edu/~msh210/ ... legal.html
Nov 15 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.