views:

511

answers:

1

I have retrieved some XML from an API (at least I think so, the server response is 'OK') however I am putting the response stream into an XmlTextReader, how do I output this XML as a string?

A: 

You can try XmlTextReader.ReadOuterXml().

Justin Niessner