Re: [xsl] Including an attribute discriminator in the for-each-group's group-by attribute

Subject: Re: [xsl] Including an attribute discriminator in the for-each-group's group-by attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 25 Jul 2008 16:03:12 +0100
me> would work (giving grouping keys of "Hahn, Henry:author" and 
me> "Hahn, Henry:subject" for your example.

or of course you could put the author first@entry first (giving a different
sort order)

In some cases if you really want to distinguish processing the types use
two nests loops instead of using concat to make a compound key.
so:

<for-each-group group-by="heading">
<xsl:for-each-group select="current-group()" group-by="@entry">
...

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread