Jigglypuff
New Member
I am newbie in xslt. Can someone explain me in details - like for a dumb - how does Muenchian grouping work? I have a simple xml document generated from a database:\[code\]<CLIENTS> <CLIENT> <NAME>John</NAME> <ACCOUNT_NUMBER>1424763562761</ACCOUNT_NUMBER> <LAST_USED>2012-10-03</LAST_USED> <AMOUNT>5000</AMOUNT> </CLIENT> <CLIENT> <NAME>John</NAME> <ACCOUNT_NUMBER>543667543732</ACCOUNT_NUMBER> <LAST_USED>2012-10-02</LAST_USED> <AMOUNT>10000</AMOUNT> </CLIENT> ...\[/code\]I'd like to group by the name node. Hence the desired ouput is:\[code\]<ClIENTS> <CLIENT> <NAME>John</NAME> <ACCOUNT> <ACCOUNT_NUMBER>1424763562761</ACCOUNT_NUMBER> <LAST_USED>2012-10-03</LAST_USED> <AMOUNT>5000</AMOUNT> </ACCOUNT> <ACCOUNT> <ACCOUNT_NUMBER>543667543732</ACCOUNT_NUMBER> <LAST_USED>2012-10-03</LAST_USED> <AMOUNT>10000</AMOUNT> </ACCOUNT> ....</CLIENTS>\[/code\]