Results 1 to 4 of 4

Thread: [2.0] Not able to read the nodes in an xml file

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    [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);

    }

  2. #2
    Fanatic Member
    Join Date
    Jun 2004
    Location
    All useless places
    Posts
    917

    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.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    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

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] Not able to read the nodes in an xml file

    Duplicate post and still no [code] tags.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width