RE: XPath help

Subject: RE: XPath help
From: "Mathias Bonnard" <mathias.bonnard@xxxxxxxxxxx>
Date: Sat, 11 Nov 2000 17:39:12 +0100
Hello Edmund,

Try :
//*[@name and not (@name = following::*/@name) and not (@name =
which should select all element nodes that have a 'name' attribute and
whose 'name' attribute's value is not present in the rest of the document
as an 'name' attribute...

There might be a simpler version (especially avoiding the double test on
preceding and following)...

Hope this helps.

Mathias Bonnard
19-21, rue du Colonel Avia
75015 Paris
06 63 56 16 25

-----Message d'origine-----
De : owner-xsl-list@xxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]De la part de edmund mitchell
Envoyé : samedi 11 novembre 2000 06:51
À : xsl-list@xxxxxxxxxxxxxxxx
Objet : XPath help

Hello all
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.
I frightened the dog from the room with:
No more newbie struggles- it's time to consult the masters...
Thanks for your help
Get Your Private, Free E-mail from MSN Hotmail at

Share information about yourself, create your own public profile at

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread