Article View: fr.comp.text.xml
Article #8440Re: Pb d'affichage de donn�es d'un document xml
From: Fr�d�ric Facca
Date: Wed, 17 Oct 2001 10:20
Date: Wed, 17 Oct 2001 10:20
35 lines
2304 bytes
2304 bytes
Cher Alain, je te remercie beaucoup pour ton aide. Je viens donc de remplacer le bout de code dans mon fichier biblio.xsl par le tien, mais h�las celui-ci ne r�soud pas encore mon probl�me. En effet, je n'obtiens qu'un seul et unique titre pour mon dernier livre, alors que dans sa d�claration dans le fichier bilio.xml il en a deux. Fr�d�ric. "Alain Ketterlin" <alain@dpt-info.u-strasbg.fr> a �crit dans le message news: wyk7xuy9l5.fsf@polya.u-strasbg.fr... > "Fr�d�ric Facca" <frederic.facca@rii-diffusion.fr> writes: > > > <?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> > > <xsl:template match="/"> > <xsl:apply-templates select="bibliotheque/livre"/> > </xsl:template> > > <xsl:template match="livre"> > <xsl:value-of select="titre"/> > <xsl:value-of select="auteur"/> > <p/> <!-- ?!? --> > </xsl:template> > > -- Alain.
Technical Details
Message-ID:
<9qjls4$bm4$1@s1.read.news.oleane.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!nnrp.oleane.net!not-for-mailReferences:
<9qhcgs$cff$1@s1.read.news.oleane.net> <wyk7xuy9l5.fsf@polya.u-strasbg.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-17 03:20:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!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: Wed, 17 Oct 2001 12:20:50 +0200 Organization: Guest of France Telecom Oleane's newsreading service Lines: 37 Message-ID: <9qjls4$bm4$1@s1.read.news.oleane.net> References: <9qhcgs$cff$1@s1.read.news.oleane.net> <wyk7xuy9l5.fsf@polya.u-strasbg.fr> NNTP-Posting-Host: 195.6.155.219 X-Trace: s1.read.news.oleane.net 1003313860 11972 195.6.155.219 (17 Oct 2001 10:17:40 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 17 Oct 2001 10:17:40 +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