Article View: fr.comp.text.xml
Article #9852Re: XSLT : problème basique et je sèche
From: Tom.
Date: Fri, 09 Feb 2001 00:42
Date: Fri, 09 Feb 2001 00:42
23 lines
1671 bytes
1671 bytes
In <3A831413.4EBDA467@wanadoo.fr>, Pasturel wrote: > Je voudrais transformer un fichier xml dont un fragment est donn� > ci-dessous : > <tag1>monTag1</tag1> > <tag2>monTag2</tag2> > > en une sortie texte ci dessous : > monTag1 monTag2 > > en inserant un espace entre monTag1 et monTag2, sans retour � la ligne > entre les deux et sans indentation pour monTag1. Avec un processeur conforme, quelque chose comme ca devrait fonctionner : <xsl:value-of select="tag1"/> <xsl:text> </xsl:text> </xsl:value-of select="tag2"/> ou toute variante possible utilisant des templates (explicites ou implicites) pour tag1 et tag2. Si ca ne va pas, le processeur n'est pas conforme (ou alors j'ai rat� un �pisode...) Tom.
Technical Details
Message-ID:
<95vebu$343$1@wanadoo.fr>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!wanadoo.fr!not-for-mailReferences:
<3A831413.4EBDA467@wanadoo.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,90408c1fe9a1fba0 X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-02-08 16:41:38 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!wanadoo.fr!not-for-mail From: Tom. <ptittom+news@free.fr> Newsgroups: fr.comp.text.xml Subject: Re: XSLT : problème basique et je sèche Date: Fri, 9 Feb 2001 01:42:21 +0100 Organization: - Lines: 23 Message-ID: <95vebu$343$1@wanadoo.fr> References: <3A831413.4EBDA467@wanadoo.fr> NNTP-Posting-Host: adijon-101-1-2-30.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Trace: wanadoo.fr 981679294 3203 193.252.183.30 (9 Feb 2001 00:41:34 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 9 Feb 2001 00:41:34 GMT