Nightmare03 Posted September 15, 2004 Share Posted September 15, 2004 Hey, I was wondering if any of you know how to add things to xml files? Example : I have this, <?xml version="1.0" encoding="utf-8"?> <entries> <entry>Test</entry> </entries> and i wanna let the user add more things into it so it would end up like this, <?xml version="1.0" encoding="utf-8"?> <entries> <entry>Test</entry> <entry>Another Test</entry> </entries> And more and more... Thanks for any help, Nightmare Link to comment Share on other sites More sharing options...
0 zzachattack2 Posted September 15, 2004 Share Posted September 15, 2004 you need to use the xml reader/writer classes in the System.Xml namespace. There are plenty of tutorials out there on how. http://www.c-sharpcorner.com/xmlnet.asp Link to comment Share on other sites More sharing options...
Question
Nightmare03
Hey,
I was wondering if any of you know how to add things to xml files?
Example :
I have this,
<?xml version="1.0" encoding="utf-8"?>
<entries>
<entry>Test</entry>
</entries>
and i wanna let the user add more things into it so it would end up like this,
<?xml version="1.0" encoding="utf-8"?>
<entries>
<entry>Test</entry>
<entry>Another Test</entry>
</entries>
And more and more...
Thanks for any help,
Nightmare
Link to comment
Share on other sites
1 answer to this question
Recommended Posts