You mean using XmlBeans? I think this would be overkill,
you would have to define a schema first, then create
and fill the XmlObjects and then use XmlObject.save().
There are other frameworks for this task, you can use
a simple java.beans.XmlEncoder or XStream (http://xstream.codehaus.org)
which I found very useful.
Robin.
[EMAIL PROTECTED] wrote:
Hello,
Is it possible to deserialize a JavaBean to XML string?
I have created a very simple JavaBean class and an object out of that.
Is it possible to generate an XML document from that object?
Thanks in advance,
Fehmi.
------------------------------------------------------------------------
Fehmi Hudayioglu
Accenture GmbH
Campus Kronberg 1
D-61476 Kronberg im Taunus
Financial Services
Telefon +49 6173 94-66233
Telefax +49 6173 94-46233
(Octel, Global VPN: 46/66233)
[EMAIL PROTECTED]
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]