[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: some XPath please ?
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: 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|