Dim xmlDoc,a
Set xmlDoc = CreateObject("Microsoft.XMLDOM")
xmlDoc.async = False
xmlDoc.load "c:\b.xml"
a=date()
msgbox (a)
If xmlDoc.parseError.errorCode <> 0 Then
Set myErr = xmlDoc.parseError
MsgBox "XML Loads Failed. " & myErr.reason
Else
Set rootNode = xmlDoc.documentElement
If rootNode.childnodes(0).childnodes(1).nodename="BIG02" Then
rootNode.childnodes(0).childnodes(1).text=a
msgbox(rootNode.childnodes(0).childnodes(1).text)
End If
xmlDoc.save "test_save.xml"
End If