Link to home
Start Free TrialLog in
Avatar of Rahamathulla_J
Rahamathulla_J

asked on

from root node

XmlNodeList nodelist = dom.SelectNodes("//child");

How can i change the above code to selectNodes from the root.
Avatar of adathelad
adathelad
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi Rahamathulla_J,

That will find all "child" elements, wherever they appear in the document so should do what you want?

ASKER CERTIFIED SOLUTION
Avatar of proxie
proxie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial