- Home /
Editing an XML File
Hey guys. I've finally got my scripts reading data from XML files, but now my problem is how I can go about editing them.
Here's my basic XML file:
<option>
<type name="MouseSensitivity">
<value> 10 </value>
</type>
</option>
Essentially, I want to change that 10 to a 20 mid-game, and then save the XML file over itself so that the next time I load up the game, it will be 20 by default. Thanks for anyone willing to lend a hand.
Answers preferably in js please.
Jordan
Answer by Xatoku · Jul 19, 2012 at 05:33 AM
Okay, so I figured it out through some trial and error, and I've managed to get my XML script working, for the most part (just missing encryption). I needed to fix up my serializer, doh.
Your answer
Follow this Question
Related Questions
Saving My World 1 Answer
the XML file doesn't work when i install the app from the app store 0 Answers
Save and Load data from Local XML file won't work 1 Answer
Saving and Loading XML in Standalone 1 Answer
load info from XML file 1 Answer