🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: manipulation d'une variable

#10104
From: Rapha�l THERY
Date: Thu, 21 Dec 2000 09:12
38 lines
2385 bytes
Une nouvelle fois merci !
Raphael

Tom. <ptittom@free.fr> a �crit dans le message :
mssq19.4o.ln@ptittom.free.fr...
> In article <pk006.3366$F06.5260388@nnrp6.proxad.net>, "Rapha�l THERY"
> <raphael.thery@nordnet.fr> wrote:
> > la vraie �criture est celle-ci
> > <xsl:sort select="@lang-fr" order="ascending"/>
> > [...]
> > �a
> > <xsl:param name="lang" select="lang-fr" />
> > ou �a
> > <xsl:param name="lang">lang-fr</xsl:param>
> > pour moi c'est la m�me chose
>
> �a ne l'est pas.
> D'un c�t� on a (devrait avoir) les noeuds fils de nom lang-fr (mais il
> n'y en a pas : il n'y a m�me pas encore de noeud courant au top-level
> de la feuille XSLT), donc un node-set vide; de l'autre un noeud de
> texte contenant le texte 'lang-fr'.
>
> > bien qu'en fait j'ai mis
> > <xsl:param name="lang" select="'lang-fr'" />  <== il y a des ' ' en
> > plus
>
> C'est mieux. On a donc bien un objet de type string et de valeur
> 'lang-fr'.
>
> > et le but et que j'arrive � une chose comme cela :
> > <xsl:param name="lang" select="'fr'" />
> > ...
> [� mettre en rapport avec le tout d�but de ce message]
>
> select="@*[name() = concat('lang-', $lang)]"
> par exemple.
>
> Tom.
Technical Details
Message-ID: <SPj06.3623$BE2.5597311@nnrp6.proxad.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail
References: <uM%%5.2806$XW5.9381904@nnrp1.proxad.net> <m3ae9rjs1m.fsf@fret.sncf.fr> <pk006.3366$F06.5260388@nnrp6.proxad.net> <mssq19.4o.ln@ptittom.free.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,771e0e4a20a35205
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2000-12-21 01:12:25 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail
From: "Rapha�l THERY" <raphael.thery@nordnet.fr>
Newsgroups: fr.comp.text.xml
References: <uM%%5.2806$XW5.9381904@nnrp1.proxad.net> <m3ae9rjs1m.fsf@fret.sncf.fr> <pk006.3366$F06.5260388@nnrp6.proxad.net> <mssq19.4o.ln@ptittom.free.fr>
Subject: Re: manipulation d'une variable
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <SPj06.3623$BE2.5597311@nnrp6.proxad.net>
Date: Thu, 21 Dec 2000 09:12:18 GMT
NNTP-Posting-Host: 195.115.154.77
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp6.proxad.net 977389938 195.115.154.77 (Thu, 21 Dec 2000 10:12:18 CET)
NNTP-Posting-Date: Thu, 21 Dec 2000 10:12:18 CET
Organization: Guest of ProXad - France