Hi Bernard,

It seems pretty simple - something along the lines of:

  <mapping name='entity-tree' class='EntityTree'>
    <structure field='entity'/>
    <collection field='children' item-type='EntityTree'/>
  </mapping>

should get you started. What's giving you a problem?

  - Dennis

Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117



Bernard D'Havé wrote:
> Hi,
>
> First of all, I really enjoy my first day with JiBX. 
> It's an incredible library! Many thanks for your work!
>
> But after a few hours, I try to go harder.
>
> I have a tree defined like this:
>
> Public class EntityTree {
>   private Entity entity;
>   private Collection<EntityTree> children;
>   . 
>   .
>   .
> }
>
> I'm still try to find how to write the binging for this class.
>
> Any idea?
>
> TIA,
> Bernard
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>   

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to