I don't think there's a feature with Castor that allows you to configure this feature. All I can suggest is to write yourself some post-processing (e.g. implement a custom MarshalListener) and see what you can do.

Regards
Werner

sweex wrote:
Hi,

My client doens't want <tag></tag> formats. It's all. Client's system is
old, and only supports XML files that have <tag /> empty fields. He has gave
me that condition.

Can I do it with Castor?

Regards.



Werner Guttmann wrote:
Hi,

these two forms of denoting an empty element are 100% identical in their semantical meaning. As there's no difference, why being bothered about this ?

Werner

sweex wrote:
hi everybody!!

My question is about the empty tags. A field that has a null values is
not
mapped, but if it has, for example, an empty value (""), the tag is
generated as:
<tag></tag>  when I want to generate is: <tag />

Can Castor do that?

Thanks,

Regards.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email






---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to