🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

XML, ordre des noeuds fils.

#201
From: Vivien Parlat
Date: Tue, 25 Nov 2008 16:01
21 lines
1747 bytes
Bonjour,

Voici ma question: quand on a un noeud pere qui contient N noeuds
fils, l'ordre a-t-il une importance ? Plus exactement, si je génère un
tel fichier xml, peut-on dire que l'ordre en fait partie ou faut-il
que je rajoute un indice pour être assuré que tout logiciel
respectueux de la norme les lise correctement ?

En d'autres termes,
<A>
   <B attr="1" />
   <B attr="2" />
</A>
... est-il sémantiquement équivalent à :
<A>
   <B attr="2" />
   <B attr="1" />
</A>
?

Merci d'avance...
Technical Details
Message-ID: <fe20c7f4-1219-44dc-addd-67674bb5731a@x8g2000yqk.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x8g2000yqk.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114f60,77ce16b3f6d87148,start
X-Google-Attributes: gid114f60,domainid0,public,usenet
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!x8g2000yqk.googlegroups.com!not-for-mail
From: Vivien Parlat <pocky6@gmail.com>
Newsgroups: fr.comp.text.xml
Subject: XML, ordre des noeuds fils.
Date: Tue, 25 Nov 2008 08:01:28 -0800 (PST)
Organization: http://groups.google.com
Lines: 21
Message-ID: <fe20c7f4-1219-44dc-addd-67674bb5731a@x8g2000yqk.googlegroups.com>
NNTP-Posting-Host: 193.251.11.142
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1227628888 13274 127.0.0.1 (25 Nov 2008 16:01:28 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 25 Nov 2008 16:01:28 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: x8g2000yqk.googlegroups.com; posting-host=193.251.11.142; 
 posting-account=_Tg26AoAAADYFpri-g4Bs22Sx2UpFDcR
User-Agent: G2/1.0
X-HTTP-Via: 1.1 srv-scan:8090 (IWSS), 1.1 SRV-PROXY
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr; rv:1.9.0.4) 
 Gecko/2008102920 Firefox/3.0.4,gzip(gfe),gzip(gfe)