How to find the name of the root node of a given xml file
- by syedsaleemss
Im using c#.net windows form application. I have a xml file whose name is hello.xml and it goes like this
-
-
abc
hello how ru
-
def
i m fine
-
ghi
how abt u
How can i get the root node i.e into a text box. At this time I will have the xml file name. i.e hello.xml. Using this I should get the root node