Greetings all,

I have a need to marshal an object without its outer element. For instance, if I marshalled a person object that had two properties of name, gender, it would be marshalled like:
<name>bob foobar</name>
<gender>male</gender>

without the outer <person> tag. The need arises from using castor with a web service framework that starts the outter element, then uses castor to marshal the fields inside the type.

I noticed you can use setRootElement in the marshaller, but I don't believe this allows you to set it to null.

Thanks,
Adam

-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to