Marshaller m = new Marshaller(writer);
m.setMarshalAsDocument(false); // <----- this will do the trick
--Keith
Ghislain ESCORNE wrote:
>
> When I Marshaller a xml file, the xml file containt this text :
>
> <?xml version="1.0"?>
>
> There are one option to not do this ?
>
> Thanks you.
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev