Article View: fr.comp.text.xml
Article #10215Re: Casse tete chinois
From: Tom.
Date: Wed, 29 Nov 2000 00:00
Date: Wed, 29 Nov 2000 00:00
18 lines
1501 bytes
1501 bytes
In article <jotU5.93$CX3.416866@nnrp1.proxad.net>, "Rapha�l THERY"
<raphael.thery@nordnet.fr> wrote:
> <xsl:template match="//Objets/Objet[@nom='{$nomTable}']">
En passant : http://www.w3.org/TR/xslt#rules
"It is an error for the value of the match attribute to contain a
VariableReference."
Et http://www.w3.org/TR/xslt#attribute-value-templates, lire la NOTE.
Noter aussi que dans les r�f�rences (regroup�es en Appendix B), un
attribute value template est not� explicitement par mise entre
accolades des valeurs possibles (cf. http://www.w3.org/TR/xslt#notation )
Le //Objets/ peut �tre utile dans le cas o� on utilise d'autres source
trees (via la fonction document()). Ce template ne vaudra alors que
pour les noeuds du "document courant", celui qui n'a pas �t� acc�d� via
document(), celui qui "appelle" directement la feuille XSLT.
Tom.
Technical Details
Message-ID:
<kf4309.ml.ln@ptittom.free.fr>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<jotU5.93$CX3.416866@nnrp1.proxad.net>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,f897fd5fb23c35ac X-Google-Attributes: gid114f60,public From: "Tom." <ptittom@free.fr> Subject: Re: Casse tete chinois Date: 2000/11/29 Message-ID: <kf4309.ml.ln@ptittom.free.fr> X-Deja-AN: 699142139 References: <jotU5.93$CX3.416866@nnrp1.proxad.net> X-Complaints-To: abuse@proxad.net X-No-Productlinks: Yes X-Trace: nnrp6.proxad.net 975512445 213.228.43.176 (Wed, 29 Nov 2000 16:40:45 CET) Organization: Guest of ProXad - France User-Agent: Pan/0.9.1 (Unix) NNTP-Posting-Date: Wed, 29 Nov 2000 16:40:45 CET Newsgroups: fr.comp.text.xml