Chris I was playing arround with XMLDOM and coudnt figure out other way of doing SaveXML() function. As Richard said $oXML.save("path") could be one way, in this case played with the path as he suggested.
This is just to light the candel for a couple of nice XML functions or just trigger new ideas for it. I think they are missing. Variables $root, $node and $child are just to point out levels, they might have another name.
Code:
SaveXML("c:\temp\Albums.xml", "contact", "name", "first" , "Leonard")
Code:
Function SaveXML($file, $root, $node, $child, $newvalue)
$MyXMLDOM = CreateObject("Microsoft.XMLDOM")
$MyXMLDOM.async = False
$MyXMLDOM.Load ($file)
$MyXpath = "/$root/$node/$child"
$MyNode = $MyXMLDOM.selectSingleNode('$MyXpath')
$MyNode.Text = $newvalue
$Node=$MyNode.Text
$MyXMLDOM.save ('$file')
EndFunction
This is the file right click save as.
HTML is on at KORG, how do you post without it?