Article View: fr.comp.text.xml
Article #8435Re: Pb d'affichage de donn�es d'un document xml
From: Fr�d�ric Facca
Date: Tue, 16 Oct 2001 15:21
Date: Tue, 16 Oct 2001 15:21
39 lines
2279 bytes
2279 bytes
Cher Pierre, je te remercie de la rapidit� de ta r�ponse. J'ai remplac� <xsl:for-each select="bibliotheque/livre"> par <xsl:for-each select="bibliotheque/livre/*"> dans mon fichier xsl mais l� je n'ai plus rien dans mon navigateur. Toi tu ferrais comment pour afficher pour chacun de mes livres leurs diff�rents titres et auteurs. Merci pour ta r�ponse. Fr�d�ric. "Pierre Y." <pierre.crisalid@wanadoo.fr> a �crit dans le message news: 9qhfc8$ftj$1@wanadoo.fr... > > biblio.xsl : > > > > <?xml version="1.0"?> > > <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> > > <xsl:template match="/"> > > <xsl:for-each select="bibliotheque/livre/*"> > > <xsl:value-of select="titre"/> > > <xsl:value-of select="auteur"/> > > <p /> > > </xsl:for-each> > > </xsl:template> > > </xsl:stylesheet> > > > > Tu as oubli� le '*' dans le select du for-each. > > PS : c'est pas tr�s joli comme mani�re de faire le coup du for-each :) mais > bon tu fais comme tu le sens hein :) > > A+ > > Pierre > >
Technical Details
Message-ID:
<9qhj34$gci$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.54.122.107!newsfeed1.bredband.com!bredband!news000.worldonline.se!newsfeed.wirehub.nl!oleane.net!oleane!nnrp.oleane.net!not-for-mailReferences:
<9qhcgs$cff$1@s1.read.news.oleane.net> <9qhfc8$ftj$1@wanadoo.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,bd382e007e304ad8 X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-10-16 08:20:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!news000.worldonline.se!newsfeed.wirehub.nl!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: Pb d'affichage de donn�es d'un document xml Date: Tue, 16 Oct 2001 17:21:01 +0200 Organization: Guest of France Telecom Oleane's newsreading service Lines: 41 Message-ID: <9qhj34$gci$1@s1.read.news.oleane.net> References: <9qhcgs$cff$1@s1.read.news.oleane.net> <9qhfc8$ftj$1@wanadoo.fr> NNTP-Posting-Host: 195.6.155.219 X-Trace: s1.read.news.oleane.net 1003245476 16786 195.6.155.219 (16 Oct 2001 15:17:56 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 16 Oct 2001 15:17:56 +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