Hi all,
I have XML file as shown below:I need output like:Code:<log> <Fruits> <date>18-Apr-2005</date> <time>16:14:22<time> <Stock> <item>Banana</item> <item>Apple</item> <item>Grapes</item> <item>Mango</item> <item>Others</item> </Stock> </Fruits> </log>
Banana
Apple
Grapes
Mango
Others
i.e., I want to retrieve the value in between <item>, </item>.
I searched the forum but haven't find anything like my request.
Please help me on this.
Thanks in advance.
Kanna.




Reply With Quote