Creating ArrayList dynamically
796586May 12 2010 — edited May 13 2010Hi,
I need to create the Array List dynamically. I need to read the xml file, in that xml file contains some elements, i need to create the array list in the name of xml file element.
For e.g.,
The xml file contains the
<Person>
<hobbies>Foot Ball</hobbies>
<hobbies>Volley Ball</hobbies>
</Person>
In this i need to create the array list in the name of hobbies, suppose the hobbies name changed are any other element is newly added in xml file. Then i need to create the array list in the name of element added or changed.