Hi all,
 
i have problems dealing with the following situation. I have a simple
xml file like this:

<tagA name="myName">
  <tagB attributeA="6000" attributeB="200" attributeC="5"
attributeD="100"/>
</tagA>

'tagA' should be mapped to class 'A' and the attributes of 'tagB' should
be mapped to a collection of a class 'B' (so each attribute should
result in an instance of class 'B'):
public class A 
{
    public String name;
    public Collection<B>;
{

public class B
{
    public String field1;
    public Integer field2;
}

How can I achieve this? I searched the mailing list archive but could
not find an answer.

thank you in advance.
Alex



_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to