posted 17 years ago
Hi All,
I have an XML File of the following format
<parent>
<Child id=1>
<Element1>
<Element2>
........
........
<Element N>
</Child>
<Child id=2>
<Element1>
<Element2>
........
........
<Element N>
</Child>
..........
...........
<Child id=n>
</Parent>
..
Now i want to retrieve the values from this given the child id(i,e if i want to details of child with id=1, i will give the id and i need all the elements falling under child with id=1). could you suggest me which collection to use and it would be of great help if i could get a sample code for it.
Thanks in advance.
Rima