Hi, Why don't you have a look at
http://www.ibm.com/developerworks/views/xml/libraryview.jsp?search_by=Data+binding+with+Castor as published by Brett McLaughlin a few years ago. That should enable you to get yourself moving. Regards Werner On 04.08.2011 10:52, Kesava wrote: > > Hi, > > I have an xml which i have to marshal and unmarshal using castor binding. > Below snippet is my custom xml. > > <request > version="1.0"><header><UniqueID>000219332</UniqueID></header><insert><SmartPad><Note>Adding > SPN</Note><HouseHoldID>HouseHold.300264.516</HouseHoldID><ContactID>Contact.300264.152</ContactID><Date>2009-09-14 > 18:38:28</Date></SmartPad></insert></request> > > Please help me how to marshal my java beans to the above format. > Note: The xml should start with root element <request> > > Thanks, --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email