title: XML Minify in .NET
body: <p>I'd like to read in the following XML:</p>
  
  <pre><code>&lt;node&gt;&lt;/node&gt;
  </code></pre>
  
  <p>And then write it out, minified, like this:</p>
  
  <pre><code>&lt;node/&gt;
  </code></pre>
  
  <p>Obviously this has the same meaning, but the second file is smaller for sending across the wire.</p>
  
  <p>I'm trying to find a way to do this in .NET. I can't seem to find an option or setting that would drop unnecessary closing tags.</p>
  
  <p>Suggestions?</p>