Hello all,
We are facing a issue about avoiding empty tags while Marshalling. Our
binding file for element AirTaxi looks as below:
<binding>
<mapping name="AuxiliaryItinerary" <structure usage="optional">
<structure name="AuxiliarySegments"
usage="optional">
<!-- Start mapping for Air Taxis -->
<structure name="AirTaxis" usage="optional">
<collection field="airTaxi"
create-type="java.util.HashSet">
<structure name="AirTaxi"
type="AirTaxiDTO" usage="optional">
When the collection field "airTaxi" is null none of the above parent tags ie
<AirTaxis>, <AuxiliarySegments>, <AuxiliaryItinerary> should be generated
after marshalling. But however all the 3 parent tags are getting generated.
Please advice on how to avoid empty tags completely. Any help is greatly
appreciated.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users