Hi Brian,
Thanks for helping out on the users list!
Just as an improvement to your recommendation, though, since about 1.1
JiBX has supported a create-type=... attribute for collection
elements (along with mapping and structure, for that matter). This
allows you to avoid the nuisance of
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
public class Node {
List subNodes = new ArrayList();
String id;
}
So how do I write the binding.xml?
Have a
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 /