title: Preserve white space in string with XmlTextWriter.WriteString
body: <p>I am writing an XML document in C#.</p>
  
  <p>I have something like this...</p>
  
  <pre><code>string output = "REAPP DUE  NO OF  M CASE NBR   APPL NBR      DATE  GRPS   M CASE NBR   APPL NBR      DATE  GRPS   _                                       _                                       _";
  </code></pre>
  
  <p>and I do this...</p>
  
  <pre><code>        objXmlTextWriter.WriteStartElement("Case");
          objXmlTextWriter.WriteString(record);
          objXmlTextWriter.WriteEndElement();  
  </code></pre>
  
  <p>and the xml element turns out like this...</p>
  
  <pre><code>&lt;Case&gt;REAPP DUE NO OF REAPP DUE NO OF M CASE NBR APPL NBR DATE GRPS M CASE NBR APPL NBR DATE GRPS _ _ _ &lt;/Case&gt;
  </code></pre>
  
  <p>It has basically converted white space with length greater than 1 to 1 character of white space.</p>
  
  <p>How do I prevent this?</p>