Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

Loading an xml file in the DOM object.

Feb 19 2003 10:01 AM
Iam working on a c# code that involves loading an xml file in the DOM object. Now the problem is for eg: XmlDocument xd = new XmlDocument(); xd.Load("Main.xml"); now this Main.xml file should be in the current directory where the main application runs. what if the Main.xml file is in some other directory? how can I get to some other directory to upload a file? please let me know how can I define a path where it uploads an xml file. Thanks, vspv

Answers (1)