12-04-2012, 12:16 PM
Code:
XMLDataFile = "file path"
Set xmlDoc = CreateObject("Microsoft.XMLDOM")
xmlDoc.Async = False
xmlDoc.Load(XMLDataFile)
' update the title of the first book
Set node = xmlDoc.SelectSingleNode("/bookstore/book[0]/title") ----- > order of the nodes in ur xml file
node.Text = "New value for that node"
' save changes
xmlDoc.Save(XMLDataFile)
Harish