Hello all,
I am parsing an xml file through Android Pull Parser technique.
first, have a look at the below xml file:
<childs>
<students>
<name> hello </name>
<address> xyz </address>
</stdents>
<students>
<name> abc </name>
<address> def </address>
</stdents>
</childs>
Consider that the above file i am parsing. Now, My problem is that I want to create separate array for name and address. so while parsing, i want to store 1st students data in name[0] and address[0] and next students in name[1] and address[1]. In short, array size is extending as and when more data is parsed.
is there any way to do so ? i mean to create dynamic extendable array ? or if there is another way to do so then pls help me to fight with this solution.
Pls help me and catch me out of this problem.