I rarely work with xslt's so I'm not the greatest at it, but, I was wondering how to go about solving this problem:
<Element>
<childElement type="type1">Bob</childElement>
<childElement type="type1">Smith</childElement>
<childElement type="type2">Bob</childElement>
</Element>"
I want to enforce @type uniqueness, where I would just grab one of the ChildElements if they have the same @type. Different @types can have the same value (in this example, the 2 Bobs would be okay). Any help on how to solve this in xslt?