🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Nouveau probl�me de boucle

#8282
From: Fr�d�ric Facca
Date: Fri, 09 Nov 2001 08:42
63 lines
2546 bytes
J'ai appliqu� la xsl dicter par Alain suivante :

<xsl:template match="auteurs">
<xsl:for-each select="id_auteur">
    <xsl:value-of select="."/>
    <xsl:text> </xsl:text>
    <xsl:value-of select="following-sibling::nom_auteur"/>
    <br/>
</xsl:for-each>

Et j'ai obtenu ce que je souhaitais.

Fr�d�ric.






"iceman" <f.heitzmann@acamaya.com> a �crit dans le message news:
9seg11$b19$1@s1.read.news.oleane.net...
> pas d accord, si tu ne changes pas le fichier, et que tu fais ce que tu
dis
> (element ou attribut c est pareil), tu vas obtenir :
>
> 00001
> 00002
> camus
> zola
>
> alors que notre ami voudrait
> 00001
> camus
> 00002
> zola
>
> J'etais pass� aux attributs pour la compacit� seulement.
>
> fred
>
> "Aurelien DEHAY" <aurelien.dehay@wanadoo.com> a �crit dans le message de
> news: m3n11xxq87.fsf@win000002.wanadoo.fr...
> > C'est tout aussi simple avec le format qu'il a. Il suffit juste de
> > supprimer les �@� dans le template auteur. Normalement. Et pour �tre
> > s�r qu'il affiche bien le contenu des noeuds id et nom:
> >
> > <xsl:template match="id">
> >     <xsl:value-of select="."/>
> > </xsl:template>
> >
> > <xsl:template match="nom">
> >     <xsl:value-of select="."/>
> > </xsl:template>
> >
> > >
> > > Fred
> > >
> > >
> >
> > --
> > Aur�lien DEHAY
>
>
Technical Details
Message-ID: <9sg4lm$v1c$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.25.12.36!oleane.net!oleane!nnrp.oleane.net!not-for-mail
References: <9se4o5$1os$1@s1.read.news.oleane.net> <9se6ag$582$1@s1.read.news.oleane.net> <m3n11xxq87.fsf@win000002.wanadoo.fr> <9seg11$b19$1@s1.read.news.oleane.net>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,a27d37f7d327f922
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-11-09 00:40:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.25.12.36!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Fr�d�ric Facca" <frederic.facca@rii-diffusion.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: Nouveau probl�me de boucle
Date: Fri, 9 Nov 2001 09:42:07 +0100
Organization: Guest of France Telecom Oleane's newsreading service
Lines: 65
Message-ID: <9sg4lm$v1c$1@s1.read.news.oleane.net>
References: <9se4o5$1os$1@s1.read.news.oleane.net> <9se6ag$582$1@s1.read.news.oleane.net> <m3n11xxq87.fsf@win000002.wanadoo.fr> <9seg11$b19$1@s1.read.news.oleane.net>
NNTP-Posting-Host: 195.6.155.219
X-Trace: s1.read.news.oleane.net 1005295094 31788 195.6.155.219 (9 Nov 2001 08:38:14 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Fri, 9 Nov 2001 08:38:14 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700