Brent Hale wrote:
Is there a way, when marshalling, to suppress the output of empty elements? For instance, I end up with several elements that, when marshalled, end up like this:

<foo/>

I'd really like it to just not create anything for that element if it is empty. I can go through and post-process it, but if there is already a way to do it....

I think that if you set the foo property to null (instead of ""), no element will be marshalled for it. That may or may not be easier than post processing.


Rhett

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


Reply via email to