title: AWS API gateway return XML
body: <p>I have a lambda function which returns an string(xml to string) to the API gateway. Now the API gateway returns the string but it is not an valid XML.
  I already set the content type to application/xml.</p>
  
  <p>The XML looks like this:</p>
  
  <pre><code>"&lt;TEST xmlns:ns0=\"https://www.w3.org/2001/XMLSchema-instance\" version=\"3.0\" &gt;\n  &lt;InLine&gt;\n  &lt;tag1&gt;valuetag1&lt;/tag1&gt;\n&lt;/InLine&gt;\n   \n&lt;/TEST&gt;"
  </code></pre>
  
  <p>How can I fix this?</p>