given an XML file, its schema, how can I obtain an Java Object(s) representation mapping to the XML ?
1. I googled and found "Castor" is one. Any other tool can be used to convert XML file with schema into Java Objects ?
2. What do I need to 'prepare' if I use Castor to generate the Java Object(s) for me ? I assume that besides the XML file, I need the java class format, and some kind of mapping file showing the relation between class instance variables and XML elements/attributes, is that right ? anything else ?