Hi,

I went through the documentation of JiBX but could not figure out way to
achieving following

*Mapping structure* (partial)

<Mapping ... >
...
<structure    name="ContainerElement" usage="optional" >
    <value    name="Chield1" field="chield1" usage="optional"/>
    <value    name="Chield2" field="chield2" usage="optional"/>
</structure>
...
</Mapping>

*Problem Statement: *
if chield1 and chield2 are null the ContainerElement should not be created.
(Currently it's created with empty content like this:
<ContainerElement/>)...

*Condition:* I am not allowed to change the Java class having field chield1
and chield2 and the container structure does not have any field mapped to
it.

Can any one help / provide input for resolving above problem.

Thanks
Munjal
-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to