Open and edit XML file in web page



Using ASP.NET and C# I'm looking for a way to open and edit an XML file via a web page. I'm not sure how to open the file. Do I use the FileUpload control to let the user browse to the local file and then on a button event load the file into an XmlDocument? I tried this and could not get it to load the file. Once I have the file loaded I think I can build/edit nodes and data. Not sure how to then save it back to an XML file on the local machine again.


No comments:

Post a Comment