Hi.
Yes, it's me again!
I hope you understand
I have made a script which i want to update a XML file, not add a new post, but update a post.
I have to ideas how to do that, I could clear the XML file and add the informations again, or I can update a post with a function.
But my problem is.. I don't know how to do that
Here is my code.
code:
var Sti = MsgPlus.ScriptFilesPath + "\\upload.xml";
var xml = new ActiveXObject("Microsoft.XMLDOM");
xml.load(Sti);
var opdaterXML = xml.createElement("Status");
opdaterXML.appendChild(xml.createTextNode(Status));
xml.getElementsByTagName("Skift")[0].appendChild(opdaterXML);
xml.save(Sti);