Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > xsl:sort select matches more than one

Reply
Thread Tools

xsl:sort select matches more than one

 
 
Michael Hamm
Guest
Posts: n/a
 
      11-15-2006
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
http://www.velocityreviews.com/forums/(E-Mail Removed) Fine print:
http://www.math.wustl.edu/~msh210/ ... legal.html
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can one declare more than one signal on one line? Merciadri Luca VHDL 4 11-01-2010 02:00 PM
Like all great travelers, I have seen more than I remember andremember more than I have seen. shenrilaa@gmail.com Java 0 03-06-2008 08:11 AM
Like all great travelers, I have seen more than I remember andremember more than I have seen. shenrilaa@gmail.com C++ 0 03-05-2008 08:41 AM
Like all great travelers, I have seen more than I remember andremember more than I have seen. shenrilaa@gmail.com C Programming 0 03-05-2008 03:26 AM
CommandArgument='<%Select More than one value%>' Mehdi ASP .Net 0 02-15-2004 06:57 PM



Advertisments