Mit folgendem Script können XML Files ausgelesen werden

set XML = CreateObject(“AspHTTP.Conn”)
set objXML = CreateObject(“Microsoft.XMLDOM”)
objXML.async = False
XML.Authorization = “USERNAME:PASSWORD”
XML.Url = “http://url/
XML.ContentType = “text/xml”
res = XML.GetURL objXML.LoadXML
res set objLst = objXML.getElementsByTagName(“*”)

For i = 0 to (objLst.length -1)  
   If objLst.item(i).nodeName = “t0″ or objLst.item(i).nodeName =  “t1″ or objLst.item(i).nodeName = “t3″ Then 
       wscript.echo objLst.item(i).text 
   end if next
set XML = nothing
set objXML = nothing
set objLst = nothing

Share