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?
1 Answer
You can try XmlTextReader.ReadOuterXml().
1 Comment
trex005
Just a note. This can not be used to debug input since it can not read with invalid XML :)