RE: XPath help

Subject: RE: XPath help
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 13 Nov 2000 10:17:56 -0000
> I would like to process a given element if the value in it's 'name' 
> attribute is not duplicated by the value of any _other_ 
> element's 'name' attribute elsewhere in the document.

<xsl:key name="names" match="@name" use="."/>

select="//@name[count(key('names',.)=1]/.."

Mike Kay


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


Current Thread