Hi all.
I've been trying to find an easy way to make the binding mange nested 
elements.
If i need to find a method to bind a xml structure like this..

<node id="0">
  <node id="1">
    <node id="1-1">
      <node id="1-1-1">
        <node id="1-1-1-1" />
      </node>
    </node>
    <node id="1-2" />
    <node id="1-3" />
  </node>
</node>

The numbers of levels is not defined.

public class Node {
    List subNodes = new ArrayList();
    String id;
}

I've tried to look in the forum, but i didn't manage to sort it out just 
yet.

So how do I write the binding.xml?

Have a feeling this is very easy though, thanks for your times.

Regards
Erik



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to