I think a code like the following would help. I assume that entries are unique
per each group.
<xsl:template match="/">
<root>
<xsl:for-each select="/root/group">
<xsl:if test="not( following-sibling::group[ current()/@name = @name ] )">
<group name="{(_at_)name}">
<xsl:copy-of select="/root/group[ current()/@name = @name ]/entry"/>
</group>
</xsl:if>
</xsl:for-each>
</root>
</xsl:template>
-------------------------
Marian
http://www.utdallas.edu/~mgo031000/
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--