Berg Klaus-Peter wrote:
> 
> Hi Derrick,
> you are right: I also tried "myMarshaller.setMarshalAsDocument(false);" and
> found it does not function as described and expected.

It functions as expected. The problem is you are using static marshal
methods...so any configuration you do of the marshaller will be ignored.

You can read this faq item:

http://www.castor.org/xml-faq.html#My-mapping-file-seems-to-have-no-effect!

It's due to the same problem, using static methods.

Just make sure you do not use the static methods, and your configuration
for the
Marshaller will be used.

--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