Hello;
I have a xml file like this:
<Student>
<stud>
<id> 1 </id>
<name> abc </name>
</stud>
<stud>
<id> 2 </id>
<name> abcd </name>
</stud>
<stud>
<id> 3</id>
<name> abcde </name>
</stud>
</Student>
I need to store all id's in a string or array or anything like this: (1,2,3)
Please help as soon as possible.. Thanks in advance..