Well, if you're asking for suggestions about how to do it, I would suggest first parsing the document into a DOM, then using an XPath expression which selects the <Database> elements which are parents of the <name> elements which contain the chosen text. Then access those elements' children as required.
Joined: May 04, 2012
thanks paul i read the xpath tutorial on w3 and use xpath and by using preceding sibling i get the values but i want specific node but it gives all siblings from all node not from selected node can you give me any example. because there is no method or idea to get node using value