xsl-list
[Top] [All Lists]

Re: [xsl] some XPath please ?

2010-06-23 02:12:40
On 23 June 2010 07:51, Fabien Tillier <f(_dot_)tillier(_at_)cerep(_dot_)fr> 
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>