Hello Henry, You no longer need to write mapping file - just give XSD(s) to Castor and it will generate DTOs and mapping descriptors for you. See attached example - it's a maven2 project, making use of castor-maven-plugin, castor, spring 3 oxm, and testng.
Regards, Stevo. On Sat, Jun 19, 2010 at 11:13 PM, Henry Lu <z...@umich.edu> wrote: > How do I map the following xml file? > > <?xml version="1.0" encoding="UTF-8"?> > <test_bean> > <emp id="123">Mister Jones</emp> > </test_bean> > > -Henry > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
sample.7z
Description: Binary data
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email