title: Strip Out XML from string
body: <p>I am calling some XMLRPC API and sometimes I am getting some "dirty" response. Dirty response means that along with XML is returned some other content/html like:</p>
  
  <pre><code>&lt;div&gt;Some Html maybe&gt; Or some additional string is here
  &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;methodResponse&gt;
     &lt;params&gt;
        &lt;param&gt;
           &lt;value&gt;&lt;int&gt;30&lt;/int&gt;&lt;/value&gt;
        &lt;/param&gt;
     &lt;/params&gt;
  &lt;/methodResponse&gt;
  </code></pre>
  
  <p>I need a way to throw out anything what is not XML and read only XML from string response so from response above I get only:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;methodResponse&gt;
     &lt;params&gt;
        &lt;param&gt;
           &lt;value&gt;&lt;int&gt;30&lt;/int&gt;&lt;/value&gt;
        &lt;/param&gt;
     &lt;/params&gt;
  &lt;/methodResponse&gt;
  </code></pre>
  
  <p>If nothing it would be helpful if someone provide code which cleans only HTML and left only XML at least. Prefer code in C#</p>