Re: Unable to Echo XML data after parsing.
Consider using WinSCP .NET assembly instead of parsign the XML log on your own:
https://winscp.net/eng/docs/library
https://winscp.net/eng/docs/library
Function XMLRead(XMLFileName, XMLTag)
Set xmlDoc = CreateObject("Msxml2.DOMDocument")
xmlDoc.load(XMLFileName)
Set ElemList = xmlDoc.getElementsByTagName(XMLTag)
XMLRead = ElemList.item(0).Text
End Function
strSCPlog = "log.xml"
SuccessMsg = ReadXMLLog (strSCPlog, "session/upload")
Wscript.echo SuccessMsg