You wouldn't need to remove duplicates if you didn't have duplicates to
start with. In this case that means not selecting a child if it's got a
younger sibling with the same name, so...
<xsl:for-each select="//*[not(*)]">
<xsl:variable name="n" select="name()"/>
<xsl:if test="not(preceding-sibling::*[name()=$n])">
<xsl:call-template name="path"/><br/>
</xsl:if>
</xsl:for-each>
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list