title: How to save double quotes in XML header using QDomDocument
body: <p>Before opening XML document the header was</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
  </code></pre>
  <p>But after using QDomDocument</p>
  <pre><code>if (!file.open((QIODevice::ReadOnly)))
  {
      return;
  }
  
  QDomDocument document;
  if (!document.setContent(&amp;file))
  {
      return;
  }
  
  file.close();
  
  if (!file.open(QIODevice::Truncate | QIODevice::WriteOnly)) {
      return;
  }
  
  QTextStream out(&amp;file);
  document.save(out, 2);
  file.close();
  
  &lt;?xml version='1.0' encoding='UTF-8' standalone='yes'?&gt;
  </code></pre>
  <p>I know what xml standart allows to use single quotes. But I need to use double quotes.</p>