Yes, that should not be a problem.

- Dennis

Robert Augustyn wrote:

Would it be possible to bind it with jibx if I had
only 2 types of <x>
element?
Something like:
<?xml version="1.0" encoding="UTF-8"?>
<binding>
 <mapping name="y" class="y">
         <value name="y1" field="y1"/>
         <value name="y2" field="y2"/>
         <value name="y3" field="y3"/>
   <structure name="x" field="x" usage="optional">
     <value name="a" field="a"/>
        ...
   </structure>
   <structure name="x1" field="x1" usage="optional">
     <value name="a1" field="a1"/>
        ...
   </structure>
 </mapping>
</binding>


<y> <y1></y1> <y2></y2> <y3></y3> <x1> <a1></a1> .... </x1> </y>

Or:

<y>
<y1></y1>
<y2></y2>
<y3></y3>
<x>
        <a></a>
        ....    
</x>
</y>

Thanks!






------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to