Chris,
Here is some link which explains how to generate java objects from an XSD.
http://www.onjava.com/pub/a/onjava/2004/12/15/jaxb.html This sample actually shows how to write data elements into the generated java objects and then producing XML document from those objects. So this part is called Marshalling. and I know you are asking about 'unmarshalling' and I couldnt find a better sample example on the web to give you a link but I did work on this part and I may be able to help you with that...
first get familiarize with the xjc stuff from above link (generating java objects from the schema) and see the above example (marshalling) and unmarshalling will be very simple. just other way around to marshalling example.
here is some sample code I wrote ..
in the above code, "generatedLogResultInputValues" is the directory of the java classes which are generated by XSD.
and "logXMLstr" is the XML
string that I am trying to convert into the Java objects...
Hope that helps. And let me know if I can help further.
Thanks,
Ugender
[ September 18, 2007: Message edited by: Ugender Rekulampally ]