title: how to give encoding as ISO-8859-1 in xml created using LINQ
body: <p>I have to create an xml file which has encoding as </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  </code></pre>
  
  <p>Currently the xml I am creating using LINQ is having tag as </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  </code></pre>
  
  <p>how can I do this using LINQ only.</p>