[2.0] Not able to read the nodes in an xml file
I can't some how see nodes in my xmldocument.
Its very very bizarre and freaking me out. works fine on XP box and same code doesn't run on windows 2003 box. Is there any setting on IIS server that should be made? the form.aspx is in virtual directory..
Any ideas are greatly appreciated.
thanks
XmlDocument xxdoc = new XmlDocument();
xxdoc.Load(@"c:\web.config");
XmlNodeList collectionNodeList = xxdoc.SelectNodes(@"/configuration/appSettings");
foreach (XmlNode ff in collectionNodeList)
{
Console.WriteLine(ff.Name, ff.Value);
}
Re: [2.0] Not able to read the nodes in an xml file
I don't understand how could you be on this forum for so long and still have complete disregard for how things work. Your question posted earlier is exactly the same and in fact looking there would have helped others here (I guess) to see the history as to where problem is boiling down to and help accordingly.
Re: [2.0] Not able to read the nodes in an xml file
Mr.Rjv
I tried different ways to see the contents of the xml file. but no use.
so I posted again. if you want you can help instead of simply browsing or passing negative comments. I am sure you time is well worth elsewhere.
nath
Re: [2.0] Not able to read the nodes in an xml file
Duplicate post and still no [code] tags.