You could probably try using JAXB... That API is given by sun for Java for
XML binding... gives you option to create java objects from an XML schema so
that converting xml to java and vice-versa can be done without much work!
Take a look at
http://java.sun.com/xml/jaxb/
Nitesh
----- Original Message -----
From: "David Gagnon" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, June 17, 2005 6:43 PM
Subject: [OT] Convert Java Object into XML. Is there a simple tool in
Jakarta projects or elsewere
Hi all,
Sorry for this OT. I'm looking for a way to output an object into XML
for debugging purpose.
I'm pretty sure I can do it myself with beanUtils and xml-api ..but I hate
reinventing the whell and pretty sure there is a simple tool somewhere.
Thanks for your help!
Have a nice week-end
/David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]