title: Xml Serialization - Render Empty Element
body: <p>I am using the XmlSerializer and have the following property in a class</p>
  
  <pre><code>public string Data { get; set; }
  </code></pre>
  
  <p>which I need to be output exactly like so</p>
  
  <pre><code>&lt;Data /&gt;
  </code></pre>
  
  <p>How would I go about achieving this?</p>