title: Removing escape sequences from the returned XML stream
body: <p>I am trying to read <code>XML</code> from an API in following way:</p>
  
  <pre><code>        string responseStream=null;
          try
          {
              var responseObj = (HttpWebResponse)request.GetResponse();
  
              using (var sr = new StreamReader(responseObj.GetResponseStream()))
              {
                  //responseStream = sr.ReadToEnd().Replace(@"\", "");
                    responseStream = sr.ReadToEnd();
  
  
              }
          }
  </code></pre>
  
  <p>What happens is it returns me XML in a string form but with escape sequences like <code>\\</code> <code>\n</code> in it which makes the XML invalid.</p>
  
  <pre><code>"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n...
  </code></pre>
  
  <p>How can i solve this issue and get only valid XML in my string so i could pass it further to the parser.</p>