🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Data binding XML-Java avec Castor

#81
From: Christophe Melchior
Date: Mon, 06 Nov 2000 00:00
23 lines
1302 bytes
Bonjour,

J'utilise le projet castor pour obtenir une repr�sentation XML de mes
objets java, gr�ce aux fonctions marshall et unmarshall. Mon probl�me
est que je sais seulement utiliser des attributs du type:

  <objet attribut="toto" />

alors que je souhaiterais pouvoir parser et �crire qqch du type:

  <objet>
    <attribut>toto</attribut>
  </objet>


Est-ce que quelqu'un sait comment faire?

Merci,
Christophe

-- 
Christophe Melchior -
Pour me r�pondre, remplacez invalid par com
Technical Details
Message-ID: <3A06DBE6.E5B28B76@webraska.invalid>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,28efa5b66098429f,start
X-Google-Attributes: gid114f60,public
X-Google-Thread: f631b,28efa5b66098429f,start
X-Google-Attributes: gidf631b,public
From: Christophe Melchior <cmelchior@webraska.invalid>
Subject: Data binding XML-Java avec Castor
Date: 2000/11/06
Message-ID: <3A06DBE6.E5B28B76@webraska.invalid>
X-Deja-AN: 690323501
Content-Transfer-Encoding: 8bit
X-Accept-Language: fr
Followup-To: fr.comp.text.xml
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@fr.uu.net
X-Trace: reader1.fr.uu.net 973528880 7950 212.208.147.110 (6 Nov 2000 16:41:20 GMT)
Organization: UUNET
Mime-Version: 1.0
NNTP-Posting-Date: 6 Nov 2000 16:41:20 GMT
Newsgroups: fr.comp.text.xml,fr.comp.lang.java