Article View: fr.comp.text.xml
Article #10219Re: Cela m'interpelle
From: Rapha�l THERY
Date: Thu, 30 Nov 2000 00:00
Date: Thu, 30 Nov 2000 00:00
36 lines
2009 bytes
2009 bytes
Ces quelques explications (� ce mail et aux autres) me sont tr�s profitables pour la comprehension de XSLT Je t'en remercie grandement Rapha�l Tom. <ptittom@free.fr> a �crit dans le message : 7k9309.v91.ln@ptittom.free.fr... > In article <7A8V5.121$9H6.444481@nnrp1.proxad.net>, "Rapha�l THERY" > <raphael.thery@nordnet.fr> wrote: > > > Quelqu'un pourrait m'expliquer la diff�rence entre les deux �critures > > suivantes car la seconde fonctionne mais pas la premi�re alors qu'� > > priori tout � l'air de se ressembler ! > > > > 1. > > <xsl:apply-templates select="$noeudEO/Entity/Champ[@Name]" /> > > S�lectionne les $noeudEO/Entity/Champ ayant un attribut Name. > > > 2. > > <xsl:variable name="nomChamp" select="@Name" /> > > La variable nomChamp est un node-set compos� de l'unique noeud @Name, > l'attribut Name du noeud courant. > > > <xsl:apply-templates select="$noeudEO/Entity/Champ[$nomChamp]" /> > > S�lectionne les $noeudEO/Entity/Champ pour lesquels $nomChamp > s'�value � vrai. Comme $nomChamp est ind�pendant de ces noeuds, > s�lectionne donc : > - si le noeud courant a un attribut Name, tous les > $noeudEO/Entity/Champ > - si le noeud courant n'a pas d'attribut Name, un node-set vide > > Tom.
Technical Details
Message-ID:
<xltV5.28$cT7.131201@nnrp3.proxad.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7A8V5.121$9H6.444481@nnrp1.proxad.net> <7k9309.v91.ln@ptittom.free.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,e9285adab8a3ef58 X-Google-Attributes: gid114f60,public From: "Rapha�l THERY" <raphael.thery@nordnet.fr> Subject: Re: Cela m'interpelle Date: 2000/11/30 Message-ID: <xltV5.28$cT7.131201@nnrp3.proxad.net> X-Deja-AN: 699524890 References: <7A8V5.121$9H6.444481@nnrp1.proxad.net> <7k9309.v91.ln@ptittom.free.fr> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@proxad.net X-Trace: nnrp3.proxad.net 975593949 195.115.154.77 (Thu, 30 Nov 2000 15:19:09 CET) Organization: Guest of ProXad - France X-MSMail-Priority: Normal NNTP-Posting-Date: Thu, 30 Nov 2000 15:19:09 CET Newsgroups: fr.comp.text.xml