users@jaxb.java.net

How can I bind nested element

From: boraldo <boraldo_at_hotbox.ru>
Date: Wed, 16 Jun 2010 11:05:36 -0700 (PDT)

There is my xml:

<parent>
   <children>
      <child>1</child>
      <child>2</child>
   </children>
</parent>

I want to have the following Parent class:

Parent{
   List<Child> children;
}

I don't want to have class for element 'children'.
How should I map List<Child> children ?
-- 
View this message in context: http://old.nabble.com/How-can-I-bind-nested-element-tp28905793p28905793.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.