title: How to reduce XML string length for storing in DB?
body: <p>I have XLM that looks like that (length 278 characters): </p>
  
  <pre><code>&lt;AppList&gt;
    &lt;App&gt;
      &lt;Info1&gt;Value 1&lt;/Info1&gt;
      &lt;Info2&gt;Value 2&lt;/Info2&gt;
      &lt;Info3&gt;Value 3&lt;/Info3&gt;
      &lt;AppList&gt;
        &lt;App&gt;
          &lt;Info1&gt;Value 4&lt;/Info1&gt;
          &lt;Info2&gt;Value 5&lt;/Info2&gt;
          &lt;Info3&gt;Value 6&lt;/Info3&gt;
        &lt;/App&gt;
      &lt;/AppList&gt;
    &lt;/App&gt;
  &lt;/AppList&gt;
  </code></pre>
  
  <p>For storing in DB I want it to look like that (length 192 characters): </p>
  
  <pre><code>&lt;AppList&gt;&lt;App&gt;&lt;Info1&gt;Value 1&lt;/Info1&gt;&lt;Info2&gt;Value 2&lt;/Info2&gt;&lt;Info3&gt;Value 3&lt;/Info3&gt;&lt;AppList&gt;&lt;App&gt;&lt;Info1&gt;Value 4&lt;/Info1&gt;&lt;Info2&gt;Value 5&lt;/Info2&gt;&lt;Info3&gt;Value 6&lt;/Info3&gt;&lt;/App&gt;&lt;/AppList&gt;&lt;/App&gt;&lt;/AppList&gt;
  </code></pre>
  
  <p>In Notepad++ they have something like <code>Linearize XML</code>, which does the work.<br>
  Is there any way to do that programmatically in C#?</p>