File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes Create XML from java object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Create XML from java object" Watch "Create XML from java object" New topic

Create XML from java object

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 646

I am marshalling(creating XMl from java object)

The code is like this

I never have done this before. What should I expect from this? An XMl which is generated automatically without doing nothing or I have to create the XMl with the tag registrationOfficeCode?


bala nannaka
Ranch Hand

Joined: Apr 02, 2007
Posts: 49
I think you can try this

subject: Create XML from java object
It's not a secret anymore!