🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[XSLT] regrouper plusieurs balises

#411
From: Cbc
Date: Sat, 14 Jul 2007 15:49
39 lines
1424 bytes
Bonjour,

dans un document XML, j'ai :

...
<a>...</a>
<b>...</b>
<tag>...</tag>
<tag>...</tag>
<tag>...</tag>
<c>...</c>
<tag>...</tag>
<tag>...</tag>
<d>...</d>
<e>...</e>
...

que je voudrais remplacer en XSLT par :

...
<a>...</a>
<b>...</b>
<tags>
   <tag>...</tag>
   <tag>...</tag>
   <tag>...</tag>
</tags>
<c>...</c>
<tags>
   <tag>...</tag>
   <tag>...</tag>
</tags>
<d>...</d>
<e>...</e>
...

Comment faire?

Merci
Technical Details
Message-ID: <4698f085$0$5092$ba4acef3@news.orange.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114f60,a24909d6001453e7,start
X-Google-Attributes: gid114f60,public,usenet
X-Google-Language: FRENCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail
Date: Sat, 14 Jul 2007 17:49:23 +0200
From: Cbc <cbc@yahooNS.fr>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
Newsgroups: fr.comp.text.xml
Subject: [XSLT] regrouper plusieurs balises
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 000756-1, 13/07/2007), Outbound message
X-Antivirus-Status: Clean
Lines: 39
Message-ID: <4698f085$0$5092$ba4acef3@news.orange.fr>
Organization: les newsgroups par Orange
NNTP-Posting-Date: 14 Jul 2007 17:49:27 CEST
NNTP-Posting-Host: 90.2.201.137
X-Trace: 1184428167 news.orange.fr 5092 90.2.201.137:4464
X-Complaints-To: abuse@orange.fr