[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Sorting things on two levels


Subject: Re: [xsl] Sorting things on two levels
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Apr 2015 16:10:31 -0000

Michele R Combs mrrothen@xxxxxxx wrote:

The output from the above should be as follows (I'm wrapping it in HTML list tags but have omitted them here for clarity -- I assume if I can get the sort working I can wrap the output without much effort):

Aardvarks, {ID}.
Bears.
    breeding, {ID}.
    feeding, {ID}.
    hunting, {ID}, {ID}.


Is there an easy way to do this?

Looks like grouping and sorting to me. Do you use XSLT 1.0 or 2.0?



Current Thread
Keywords