Forums Register Login
Dom to JAXB

i'm pretty new to JaxB.

I would to like to convert a method which is parsing using DOM to JAXB.

following is the DOM code for parsing:

any suggestions..how can i convert to Jaxb.
If the re-write from dom approach to jaxb approach is that drastic, I am not sure we can still call it a conversion.

In any case, keep the desired output as constant, unmarshal (that is the word) the xml to some pre-designed plain-old java objects as custodians of the raw data and then write out the same desired output from them. However, the technical item of unmarshalling hides behind the whole jaxb framework that you need simply have to read chapter after chapter beforehand. Hand waiving verbally clever rhetoric won't do you any good.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 2684 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 18, 2017 00:24:43.