Re: [xsl] some XPath please ?

Subject: Re: [xsl] some XPath please ?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 23 Jun 2010 08:12:14 +0100
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