aspose file tools*
The moose likes XML and Related Technologies and the fly likes Autogenerating Castor Unmarshaller Mapping File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Autogenerating Castor Unmarshaller Mapping File" Watch "Autogenerating Castor Unmarshaller Mapping File" New topic
Author

Autogenerating Castor Unmarshaller Mapping File

Rahul Kumar Thakur
Greenhorn

Joined: Dec 12, 2011
Posts: 1

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

Joined: Mar 24, 2008
Posts: 3775

Moved to "XML and Related Technologies" forum.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
wood burning stoves
 
subject: Autogenerating Castor Unmarshaller Mapping File
 
Similar Threads
without xml schema, generate java classes from xml data file ?
XML Validation in Castor
help with document based web services
java objects to xml streams in pipe
Facade design pattern in web services