Thanks Andrew.
It does work as a charm... so simple...
Best regards,
Fabien
-----Message d'origine-----
De : Andrew Welch [mailto:andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com]
Envoyé : mercredi 23 juin 2010 09:12
À : xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Objet : Re: [xsl] some XPath please ?
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>
--~--
--~------------------------------------------------------------------
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>
--~--