title: Trim() the values of all xml elements and attributes in an xml document using c#
body: <p>I'm trying to figure out the simplest way to take xml like this:</p>
  
  <pre><code>&lt;Car&gt;
   &lt;Description Model="Ford      "&gt;Blue     &lt;/Description&gt;
  &lt;/Car&gt;
  </code></pre>
  
  <p>into this:</p>
  
  <pre><code>&lt;Car&gt;
    &lt;Description Model="Ford"&gt;Blue&lt;/Description&gt;
  &lt;/Car&gt;
  </code></pre>