Hi,
I have the current design like this:

Node
-List of Groups
  -List of Subgroups
    -List of Text

The Node contains a list of Groups , which in turn contains a list of subgroups and finally the subgroup contains a list of Text.
The Group and Subgroup are of same type VO, which is uses recursion.

Please let me know how to marshal this into xml like this below:
<node>
  <grouplist>
    <group>
         <group-name> ABC</group-name>
         <subgroup-list>
               <subgroup-name>SG-ABCM</subgroup-name>
                <text-list>
                      <text>1.hello< /text>
                      <text>1.hello...< /text>
                 </text-list>
          <subgroup-list>
     <group>
     <group>...</group>
  <grouplist>
</node>

Thanks
Gopi



Reply via email to