slightlyoff
asked on
Read Throuh XML txt sent as a Response
I've found quite a few guides online about reading xml from a file. But the xml I need to read is sent as an object that I turn into an XMLString.
The MsgBox displays valid XML
However, when I try to parse it using the code above I get the error: "illegal characters in path." - I'm assuming that's because XMLTextReader is expecting a path to a file, not the file contents.
Is there a similar tool to use to read through the results?
Thanks for your help!
response = sessionManager.DoRequests(request)
MsgBox(response.ToXMLString)
Dim m_xmlr As XmlTextReader
m_xmlr = New XmlTextReader(response.ToXMLString)
The MsgBox displays valid XML
However, when I try to parse it using the code above I get the error: "illegal characters in path." - I'm assuming that's because XMLTextReader is expecting a path to a file, not the file contents.
Is there a similar tool to use to read through the results?
Thanks for your help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER