🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Données XML dans une balise CDATA.

#9059
From: Dario Efine
Date: Mon, 11 Jun 2001 16:17
26 lines
1451 bytes
Salut � tous,

J'ai besoin de stocker un document XML � l'int�rieur de donn�es XML.
La solution � laquelle j'ai pens�e imm�diatement est  d'inclure les
informations XML entre deux balises CDATA :

...
<![CDATA[
	<Size>1000x1000</Size>
	<Objects>
		<Circle>
			<Center>(50,50)</Center>
			<Radius>25</Radius>
		</Circle>
		<Rectangle>
			<Mode>Add</Mode>
			<Bounds>(300,300)-(400,400)</Bounds>
		</Rectangle>
	</Objects>
]]>
...

Cependant, si les donn�es XML que je doit inclure contiennent elle-m�me
des CDATA, le parser ne va-t-il pas y perdre son latin (son XML plut�t�) ?

-Dario
Technical Details
Message-ID: <6d3e0772.0106110817.41ad1a58@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,dc443e464d53d201,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-06-11 09:17:31 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail
From: DEfine@iFrance.com (Dario Efine)
Newsgroups: fr.comp.text.xml
Subject: Données XML dans une balise CDATA.
Date: 11 Jun 2001 09:17:31 -0700
Organization: http://groups.google.com/
Lines: 26
Message-ID: <6d3e0772.0106110817.41ad1a58@posting.google.com>
NNTP-Posting-Host: 212.234.188.66
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 992276251 2195 127.0.0.1 (11 Jun 2001 16:17:31 GMT)
X-Complaints-To: groups-support@google.com
NNTP-Posting-Date: 11 Jun 2001 16:17:31 GMT