Actually depends on how complex your xml is....if its very simple xml, then you can just parse the xml and create your object.
If its complex, then JAXb would be a better option, for creating an xsd, there are tools available which make it simpler ( Altova's XMLSpy is a good option for free trial)
SCJP 6.0, SCWCD 5
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop