🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Un petit probleme de syntaxe !!!

#9700
From: HERVE LEDOUX
Date: Tue, 27 Feb 2001 11:33
36 lines
2103 bytes
Merci beaucoup.. je vais essayer...



Alain Ketterlin <alain@dpt-info.u-strasbg.fr> a �crit dans le message :
wyk86ctyg1.fsf@polya.u-strasbg.fr...
> "HERVE LEDOUX" <hledoux@free.fr> writes:
>
> > je sais que l'on peut acceder directemment � la premiere ou la derniere
> > "question" par :
> > p=<xsl:value-of select="../question[0]/@temps">
>
> Non c'est [1] pour le premier.
>
> > p=<xsl:value-of select="../question[end( )]/@temps">
>
> Non c'est last() pour le dernier.
>
> > mais je voudrais acceder directement a la "question" suivante :
> > p=<xsl:value-of select="../question[next( )]/@temps">
> > mais cela ne fonctionne pas...
>
> Tu peux utiliser l'axe following-sibling, c'est-a-dire
>
> <xsl:value-of select="following-sibling::question/@temps"/>
>
> ou quelque chose comme cela.
>
> > j'ai pens� aussi a mettre une variable javascript.. mais c'est la meme
> > probleme :
>
> Sans espoir a mon avis, sauf a construire une usine a gaz. De toute
> facon, XPath a des ressources qu'on ignore trop souvent (cf.
> http://www.w3.org/TR/xpath)
>
> -- Alain.
Technical Details
Message-ID: <AgMm6.797$4H4.3106837@nnrp3.proxad.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!proxad.net!feeder2.proxad.net!nnrp3.proxad.net.POSTED!not-for-mail
References: <nXzm6.1955$Fx2.6974638@nnrp2.proxad.net> <wyk86ctyg1.fsf@polya.u-strasbg.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,be625deb22b083be
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-02-27 03:38:03 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!proxad.net!feeder2.proxad.net!nnrp3.proxad.net.POSTED!not-for-mail
From: "HERVE LEDOUX" <hledoux@free.fr>
Newsgroups: fr.comp.text.xml
References: <nXzm6.1955$Fx2.6974638@nnrp2.proxad.net> <wyk86ctyg1.fsf@polya.u-strasbg.fr>
Subject: Re: Un petit probleme de syntaxe !!!
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <AgMm6.797$4H4.3106837@nnrp3.proxad.net>
Date: Tue, 27 Feb 2001 11:33:52 GMT
NNTP-Posting-Host: 213.228.19.20
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp3.proxad.net 983273632 213.228.19.20 (Tue, 27 Feb 2001 12:33:52 CET)
NNTP-Posting-Date: Tue, 27 Feb 2001 12:33:52 CET
Organization: Guest of ProXad - France