14
Answers

Get corresponding node in Xml

Tanmay Sarkar

Tanmay Sarkar

14y
3k
1
I have two child node in a parent

<information>
<name>tanmay</tanmay>
<contact>1234567890</contact>
</information>

I want to get the contact node where corresponding name is provided.
please help me I am just starting xml.

Thank you in advance.
Answers (14)