I am calling the stockquote webservice and trying to parse through the data that is returned but nothing I try is working
Set objHTTP = CreateObject("Microsoft.XMLHTTP")
objHTTP.Open "GET", "http://www.webservicex.net/stockquote.asmx/GetQuote?symbol=AAPL", False
objHTTP.send
Dim xDoc As MSXML2.DOMDocument
Dim xDoc2 As MSXML2.IXMLDOMNodeList
Set xDoc = New MSXML2.DOMDocument
xDoc.LoadXML (objHTTP.responseXML.XML)
I know everything works up to this point and I can look at the Xdoc object in the debugger and see that the xml was loaded.
How do I access the individual nodes after this?
the sample xml looks like this
"<string xmlns="http://www.webserviceX.NET/"><StockQuotes><Stock><Symbol>AAPL</Symbol><Last>446.5345</Last>
<Date>5/30/2013</Date><Time>10:55am</Time><Change>+1.5845</Change></Stock></StockQuotes></string>"