sreenivasa k

sreenivasa k

  • 882
  • 893
  • 34.6k

Design entities and deserialize

Jul 6 2017 1:29 PM
i have an xml and i need to create entities and fill entities based on below xml.
It is nothing but child inside child with same class name. please provide solution. thanks in adance. 
 
<school>
   <students>
         <stundent>
               <name>James</name>
                  <student>
                     <name>Jason</name>
                        <student>
                           <name>Daniel</name>
                               <student>
                                    <name>Walsh</name> 
                                 </student> 
                        </student>
               </student>
            </student>
</students>
</school>
 

Answers (1)