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, -- View this message in context: http://old.nabble.com/How-to-marshal-into-custom-xml-tp32192661p32192661.html Sent from the Castor - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email