File: Data.xml
A
A
B
C
D
E
F
B
b1
b2
b3
b4
File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Grouping in XSLT
Output:
Grouping in XSLT
A
A
B
C
D
E
F
B
b1
b2
b3
b4