|
-
Sep 6th, 2006, 03:56 PM
#1
Thread Starter
Hyperactive Member
[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);
}
-
Sep 6th, 2006, 04:26 PM
#2
Fanatic Member
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.
-
Sep 6th, 2006, 04:40 PM
#3
Thread Starter
Hyperactive Member
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
-
Sep 6th, 2006, 04:59 PM
#4
Re: [2.0] Not able to read the nodes in an xml file
Duplicate post and still no [code] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|