RE: Avoiding duplicates in the node selection

Subject: RE: Avoiding duplicates in the node selection
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Wed, 28 Jun 2000 16:19:55 +0100
Warren Hedley wrote:

> Short answer (not tested):

<xsl:for-each select="//Keywords/*[not(name() = name(following::*))]" />



I would add:

For this to be more generic, sort it by name() using the <xsl:sort> command
within your <xsl:for-each> loop.


Ben


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread