I have XML data like this:
<data ItemCount="5">
<zrow GroupName="Manager"User="User1" />
<zrow GroupName="Developer"User="User2" />
<zrow GroupName="Manager"User="User3" />
<zrow GroupName="CEO"User="User4" />
<zrow GroupName="CEO"User="User5" />
</data>
I want output like this:
Manager
User1
User3
Developer
User2
CEO
User4
User5
What should be my XSLT? I want to create an XSLT which should transform my data to the above format. Could you please help me create one?
An XSLT 2.0 solution:
An XSLT 1.0 solution relies on the Muenchian Method: