[xslt] Sorting with <xsl:sort>
- From: Vlastimil Krejcir <krejcir ics muni cz>
- To: xslt gnome org
- Subject: [xslt] Sorting with <xsl:sort>
- Date: Tue, 12 Jul 2005 14:13:21 +0200 (MEST)
I have a xml like:
<name>another first name</name>
So every person could have several names (like "Arthur Charles" Clarke):
I need to sort all person -- sort through first name, all persons with the
same first name sort through second name etc. There is no restriction on
number of names per person. The way I find is something like:
But what if the person have more than n names? So this solution is not
good. Another way I see is to make my own sorting, but it is not ellegant.
I hope there is another way to solve this. Any suggestions?
] [Thread Prev