🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Factorisation d'�l�ments ?

#10180
From: Rapha�l THERY
Date: Fri, 24 Nov 2000 00:00
20 lines
1217 bytes
Je voudrais savoir s'il est possible de factoriser des tag en travaillant �
la fois sur l'arbre source et l'arbre destination.

Exemple :
j'ai un xml de d�part
<Champs>
   <champ nom="titi" ope="=" />
   <champ nom="titi" odb="asc" />
   <champ nom="toto" ope="LIKE" />
   <champ nom="toto" odb="dsc" />
</Champs>

je voudrais le transformer en  (factorisation des balises "champ")
<Champs>
   <champ nom="titi" ope="=" odb="asc" />
   <champ nom="toto" ope="LIKE" odb="dsc" />
</Champs>

merci de bien vouloir eclairer ma lanterne !
Rapha�l
Technical Details
Message-ID: <hLqT5.1094$R24.2556019@nnrp6.proxad.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,d24bd51d3646a45f,start
X-Google-Attributes: gid114f60,public
From: "Rapha�l THERY" <raphael.thery@nordnet.fr>
Subject: Factorisation d'�l�ments ?
Date: 2000/11/24
Message-ID: <hLqT5.1094$R24.2556019@nnrp6.proxad.net>
X-Deja-AN: 697345153
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp6.proxad.net 975059021 195.115.154.77 (Fri, 24 Nov 2000 10:43:41 CET)
Organization: Guest of ProXad - France
X-MSMail-Priority: Normal
NNTP-Posting-Date: Fri, 24 Nov 2000 10:43:41 CET
Newsgroups: fr.comp.text.xml