Search here for all the info you want in this Blog

XMLDOM Object

x = "soapsoap"
Dim xmldoc
Set xmldoc = WScript.CreateObject("microsoft.xmldom")

'msxml2.domdocument
xmldoc.loadXML(x)
'xmldoc.load("C:\test_automation\vbscript\test.xml")

Set y =  xmldoc.documentElement
Set z = y.childNodes

For i=1To z.length Step1
    Set s = z.nextNode
        MsgBox s.nodeName
        MsgBox s.text
Next

No comments:

Post a Comment