Merci bcp Eric apparemnt c bien ça sauf que dans mon cas c est plutot
following-sibling::*[not(@class='x')]
super!
----- Original Message -----
From: "Eric van der Vlist" <vdv@dyomedea.com>
To: <xml-tech@xmlfr.org>
Sent: Thursday, December 01, 2005 2:14 PM
Subject: [xml-tech] Re: RE : test existance @class
Le jeudi 01 décembre 2005 à 15:02 +0100, Amoureux erwan a écrit :
> plus simple , une negation suffit
> <xsl:copy-of select=following-sibling::*[@class='x' | not(@class)] "/>
Ou bien encore, puisqu'on parle de négation :
following-sibling::*[not(@class!='x')]
Plus concis mais pas nécessairement plus lisible...
Cordialement,
Eric van der Vlist
--
Have you ever thought about unit testing XSLT templates?
http://xsltunit.org
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Received on Thu Dec 1 15:31:11 2005