RE: [xsl] some XPath please ?

Subject: RE: [xsl] some XPath please ?
From: "Fabien Tillier" <f.tillier@xxxxxxxx>
Date: Wed, 23 Jun 2010 09:19:11 +0200
Thanks Andrew.
It does work as a charm... so simple...

Best regards,
Fabien


-----Message d'origine-----
De : Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx]
Envoyi : mercredi 23 juin 2010 09:12
@ : xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Objet : Re: [xsl] some XPath please ?

On 23 June 2010 07:51, Fabien Tillier <f.tillier@xxxxxxxx> wrote:
> What if I want to select all tag2 elements that did not have a tag1
> above ?
> I have tried
>
> "//tag2[parent::node!=3D'tag1']/*"

//tag2[not(parent::tag1)]

or

//*[not(self::tag1)]/tag2


--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread