xsl-list
[Top] [All Lists]

RE: grouping question.

2004-01-10 11:41:42
-----Original Message-----
From: James Cummings
<snip />

Although the <usage> elements are in alphabetic order by @ms I wouldn't
want to rely on that and just test the following-sibling.  If I was
to sort any order I'd want the <usage> elements as a whole sorted by
@ms and all those of the same @ms sorted by @code.


IIC you can achieve this by 

<xsl:sort select="concat(@ms,@code)" />

Or something of the sort.

Cheers,

Andreas 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>