hey how can i save and edit xml loading them wasnt a roublem but now that im trying to save them it doesnt seem to be working have no clue on wheere to start at. IF anyone has any hints what so ever i would like to have them in my hands please.
Printable View
hey how can i save and edit xml loading them wasnt a roublem but now that im trying to save them it doesnt seem to be working have no clue on wheere to start at. IF anyone has any hints what so ever i would like to have them in my hands please.
assuming you are using the XML objects like XMLDocument, you should notice that it has a .Save method, which takes a filename as a param to determine where the file will be saved and under what name. If you are just loading, editing, and then saving an xml file, then you would obviously use the same name as the file you loaded.
when you have an xml document loaded into an xmdocument class, you can modify it by using the various methods like removechild, replacechild, etc....
I suggest you look through the MSDN help for the XML classes to see what is available to you.
http://msdn2.microsoft.com/en-us/lib...ldocument.aspx
It would be helpful if you told us what the error was. It would be helpful if you stepped through the code to see where the anomaly is occurring.Quote:
Originally Posted by paperthinstories
well i didnt know where to start ! so no eorrors where poping up.
Post your code.