This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have multiple xml files with it's xsd. I want to unmarshall the xml n extract data, but in the process i have to go on creating mapping files for castor. I can auto-generate my pojos through jaxb by using the xsd, is there a way to automate the mapping file generation such that whenever i get an xml, based on it's xsd it maps the xml elements to the pojos jaxb has generated. Basically i am getting the xmls from an external source and i have the xsds.
Please give a detailed explanation, and please give some detailed reference for castor unmarshall mapping file through xsd.