I have a xml that has so many elements and most of that contain attributes.. for some of the attributes values are same so I need to group them and generate diff xml. I/p Ex
In XSLT 2.0 you should be able to do it with , current-grouping-key() and current-group()
current-grouping-key()
current-group()
Example:
See: http://www.w3.org/TR/xslt20/#grouping