This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XPath help
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: XPath help
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 13 Nov 2000 10:17:56 -0000
- Reply-To: xsl-list at mulberrytech dot com
> 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