It does not work even if I use marshaller.setSupressXMLDeclaration which has the same behavior with setMarshalAsDocument.

 

Is there any other setting to be considered?

 


From: Tim Mulle [mailto:[EMAIL PROTECTED]
Sent: Monday, July 18, 2005 6:38 PM
To: [email protected]
Subject: RE: [castor-user] removing xml version tag

 

I think if you set the Marshaller.setMarshalAsDocument(boolean) to "false" it won't write out the XML header

 

- Tim

 

 


From: mesut çelik [mailto:[EMAIL PROTECTED]
Sent: Monday, July 18, 2005 12:37 PM
To: [email protected]
Subject: [castor-user] removing xml version tag

Hi all,

 

Is there any setting for removing <?xml version="1.0" encoding="UTF-8"?> which is put by castor while marshalling ?

 

 

 

Reply via email to