Java JAXB xml pojo classes



How can I create the POJO classes with JAXB with such a xml structure :



<principale>
<procedure>
<procedure>
<param1>value1</param1>
<param2>value2</param2>
</procedure>
<procedure>
<param1>value3</param1>
<param2>value4</param2>
</procedure>
</procedure>
</principale>


As you can see the first procedure tag is not the root one and is the same than the second procedure tag.


No comments:

Post a Comment