Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Autogenerating Castor Unmarshaller Mapping File

 
Rahul Kumar Thakur
Greenhorn
Posts: 1
Firefox Browser Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vijitha Kumara
Bartender
Posts: 3953
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to "XML and Related Technologies" forum.
 
You don't like waffles? Well, do you like this tiny ad?
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!