Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Create XML from java object" Watch "Create XML from java object" New topic
Author

Create XML from java object

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 331
Hi

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?

Thanks

bala nannaka
Ranch Hand

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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Create XML from java object
 
Similar Threads
Clarification Requested - XML recordset & JAXB classes
convert java classes to .xsd xml schema in eclise
Unmarshalling of nested child elements using jaxb
JAXB and marshalling
JAXB Question