How to find the name of the root node of a given xml file

Posted by syedsaleemss on Stack Overflow See other posts from Stack Overflow or by syedsaleemss
Published on 2010-05-05T05:40:53Z Indexed on 2010/05/05 5:48 UTC
Read the original article Hit count: 230

Filed under:

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

© Stack Overflow or respective owner

Related posts about c#