Get corresponding node in Xml
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.