OR is it selecting the entire element collection whose ID equals the ID of
the entire key collection (this seems to make more sense)
Thank you everyone for your help!
Wasiq Shaikh
----Original Message Follows----
see muenchian grouping
<xsl:key name="k" match="xsd:element" use="concat(@name,' ',@type)"/>
<xsl:template match"/">
<uniqueElements>
<xsl:for-each
select="//xsd:element[generate-id()=generate-id(key('k',concat(@name,'
',@type)))]">
<xsl:copy>
<xsl:copy-of select="@name|@type"/>
</xsl:copy>
</xsl:for-each>
</uniqueElements>
</xsl:template>
should be all you need.
David
_________________________________________________________________
Windows Live Hotmail gives you the control you need to help you keep your
e-mail private, safe and secure. See for yourself!
www.newhotmail.ca?icid=WLHMENCA147