How get from HttpWebResponse to XMLTextReader?

  • Thread starter Thread starter Ronald S. Cook
  • Start date Start date
R

Ronald S. Cook

I've posted my XML to a server and captured the XML sent back into an
HttpWebResponse object. How do I process it further into an XMLTextReader
object so that I can parse through the data looking for certain values?

Thanks,
Ron
 
Ronald,

The HttpWebResponse class has a GetResponseStream method which will
return a Stream implementation. You can pass this to a StreamReader (or
maybe to the XmlTextReader itself).

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top