🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Retours ligne dans un XSL

#8575
From: Eric de Jandin
Date: Fri, 14 Sep 2001 14:44
31 lines
1817 bytes
Bonjour,
je cherche � produire un fichier texte par fusion xml / xsl.

voici le fichier xsl :
--------------------------------------------------
...
<xsl:output method="text"/>
...
<xsl:template match="valeur">
    <xsl:value-of select="LIBELLE"/>!<xsl:value-of select="CODE"/>!
</xsl:template>
...
--------------------------------------------------

mais je ne parviens pas � produire un retour � la ligne
le but est d'obtenir un fichier du type :
--------------------------------------------------
libelle1!code1!
libelle2!code2!
libelle3!code3!
...
--------------------------------------------------

j'ai essay� avec un
<xsl:text>
</xsl:text>
qui est sens� conserver les espaces et retours � la ligne
mais cela ne fonctionne pas

Merci d'avance
Eric.
Technical Details
Message-ID: <LJoo7.6514$uS6.7000120@nnrp4.proxad.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!teaser.fr!proxad.net!feeder2-1.proxad.net!nnrp4.proxad.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,14f71f1b95383922,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-09-14 07:44:59 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!teaser.fr!proxad.net!feeder2-1.proxad.net!nnrp4.proxad.net.POSTED!not-for-mail
From: "Eric de Jandin" <edejandin@victoire.fr>
Newsgroups: fr.comp.text.xml
Subject: Retours ligne dans un XSL
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <LJoo7.6514$uS6.7000120@nnrp4.proxad.net>
Date: Fri, 14 Sep 2001 14:44:59 GMT
NNTP-Posting-Host: 212.155.77.5
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp4.proxad.net 1000478699 212.155.77.5 (Fri, 14 Sep 2001 16:44:59 CEST)
NNTP-Posting-Date: Fri, 14 Sep 2001 16:44:59 CEST
Organization: Guest of ProXad - France