-dt-
Scripting Contest Winner
;o
Posts: 1819 Reputation: 74
36 / /
Joined: Mar 2004
|
RE: XML Saving and loading?
script
code: var xml = new ActiveXObject("Microsoft.XMLDOM");
var file = MsgPlus.ScriptFilesPath + '\\settings.xml';
xml.load(file);
var node = xml.selectSingleNode("/Information/name");
node.text = "test";
xml.save(file);
settings.xml
code: <Information>
<name>Value</name>
</Information>
This post was edited on 07-21-2006 at 07:21 PM by -dt-.
Happy Birthday, WDZ
|
|