Just call the marshaller with your root object:

import org.exolab.castor.xml.*;

Marshaller m = new Marshaller(writer);
m.marshal(object);

If you need a different XML representation than the one generated...you
can update your mapping file with XML specific information.

--Keith

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to