🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #10216

Re: Cela m'interpelle

#10216
From: Tom.
Date: Wed, 29 Nov 2000 00:00
28 lines
1613 bytes
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: <7k9309.v91.ln@ptittom.free.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7A8V5.121$9H6.444481@nnrp1.proxad.net>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,e9285adab8a3ef58
X-Google-Attributes: gid114f60,public
From: "Tom." <ptittom@free.fr>
Subject: Re: Cela m'interpelle
Date: 2000/11/29
Message-ID: <7k9309.v91.ln@ptittom.free.fr>
X-Deja-AN: 699168271
References: <7A8V5.121$9H6.444481@nnrp1.proxad.net>
X-Complaints-To: abuse@proxad.net
X-No-Productlinks: Yes
X-Trace: nnrp6.proxad.net 975516897 213.228.43.146 (Wed, 29 Nov 2000 17:54:57 CET)
Organization: Guest of ProXad - France
User-Agent: Pan/0.9.1 (Unix)
NNTP-Posting-Date: Wed, 29 Nov 2000 17:54:57 CET
Newsgroups: fr.comp.text.xml