Hi!!

I need help with a single thing. I marshal an array like this:

    <field name="Elements" type="org.me.xml.bean.Element" 
collection="arraylist">
            <bind-xml name="element" location="elements" node="element" />
    </field>

When element's array is empty, I want to generate <elements></elements> tags. 
But Castor doesn't generate anything in that circumstances. How can I do that?

Regards

       
---------------------------------

Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.

Reply via email to