In my above question "message" means "<organization> .... </organization>" in below given sample XML.
Consider I am having input XML file with following content
<organization> <director> <fname>Dan</fname> <lname>Schman</lname> </director> </organization> <organization> <director> <fname>fan</fname> <lname>Heman</lname> </director> </organization> <organization> <director> <fname>Ban</fname> <lname>Sheman</lname> </director> </organization> is it possible for me to use JAXB for unmarshaling such input XML ? Or is there any better tool which can be used to achieve this ?
I am familiar with using JAXB from a file having single message only (ex. any configuration file). But how do I go about when input file has multiple messages as given above?
No comments:
Post a Comment