🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Pb d'affichage de donn�es d'un document xml

#8437
From: Alain Ketterlin
Date: Wed, 17 Oct 2001 08:06
24 lines
1678 bytes
"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: <wyk7xuy9l5.fsf@polya.u-strasbg.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!ciril.fr!news.u-strasbg.fr!not-for-mail
References: <9qhcgs$cff$1@s1.read.news.oleane.net>

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 01:54:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!ciril.fr!news.u-strasbg.fr!not-for-mail
From: Alain Ketterlin <alain@dpt-info.u-strasbg.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: Pb d'affichage de donn�es d'un document xml
Date: 17 Oct 2001 10:06:14 +0200
Organization: CRC - Universite Louis Pasteur Strasbourg France
Lines: 24
Message-ID: <wyk7xuy9l5.fsf@polya.u-strasbg.fr>
References: <9qhcgs$cff$1@s1.read.news.oleane.net>
NNTP-Posting-Host: polya.u-strasbg.fr
X-Trace: news.u-strasbg.fr 1003313664 1214 130.79.44.199 (17 Oct 2001 10:14:24 GMT)
X-Complaints-To: usenet@u-strasbg.fr
NNTP-Posting-Date: 17 Oct 2001 10:14:24 GMT
X-Newsreader: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef"