It wouldn't make sense to remove items with the same value for
the group-by property as they are the things you are putting in each
group. Clearly you want more than one thing in a group in general
otherwise it would be a remove-duplicates function, not a grouping
construct.
I can understand dp's point, when reading section 14
http://www.w3.org/TR/xslt20/#grouping of the spec it does give the impression
that @group-by removes duplicates (instead of accessing them through
current-group()).
There are also some typo's in the first example in 14.3, fn:position() in the
stylesheet when theres no need for the namespace, and the results for France
and Italy are collated out of document order (backwards).
Sorry if this isnt the place to raise the issues, Ive just noticed them.
cheers
andrew
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.470 / Virus Database: 268 - Release Date: 08/04/2003
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list