Convert xml to java object

Four Stars

Convert xml to java object

Scenario : want to convert dynamic xml to java object.

My Source application generates dynamic xmls which have different parent and child nodes each time differently.

Need to design the code such a way that, accept (Source)dynamic xml to pojo class to java object(Target).


Please help..  


Re: Convert xml to java object


Could you please elaborate your case with an example with input and expected output values?

Best regards


Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.