Your code snippets using for-each-group and distinct-values look fine. If they aren't working please show a complete source document and stylesheet, explain what output you expected, and what output you got.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|