This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes jaxb marshall and unmarshall Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "jaxb marshall and unmarshall" Watch "jaxb marshall and unmarshall" New topic
Author

jaxb marshall and unmarshall

geeta lalchandani
Ranch Hand

Joined: Jun 07, 2005
Posts: 118
I want to know if partial marshalling and unmarshalling is possible using JAXB.

i just want to marshal and un-marshal particular node in the xml.Is that possible..
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

I think it is possible. You should try it out.
Different JAXB Providers will support marshalling invalid Java content trees at varying levels, however all JAXB Providers must be able to marshal a valid content tree back to XML data


Groovy
geeta lalchandani
Ranch Hand

Joined: Jun 07, 2005
Posts: 118
i tried partial unmarshalling...
but it gives an exception in SaxUnmarshallerImpl, which is internally used by jaxb.

Any hints to make it work.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jaxb marshall and unmarshall