how to add element to a xml file using asp.net& c#.net inweb application
-
It'd be helpful if you were a bit more specific about the element you want to add, perhaps giving us a sample of the file you want to modify? =)Rob– Rob2010-02-17 10:00:36 +00:00Commented Feb 17, 2010 at 10:00
-
Are you using Linq to XML or some thing ? Just asking ..Mahesh Velaga– Mahesh Velaga2010-02-17 10:03:10 +00:00Commented Feb 17, 2010 at 10:03
Add a comment
|
3 Answers
Load the document using XmlDocument class and then modify it as needed. Reference documentation and examples here.