title: Ignore null values - Serialization
body: <p>How can I set up the <code>System.Runtime.Serialization</code> serializer to ignore null values?</p>
  
  <p>Or do I have to use the <code>XmlSerializer</code> for that? If so, how?</p>
  
  <p>(I don't want <code>&lt;ecommerceflags i:nil="true"/&gt;</code> tags like this to be written, if it's null then just skip it)</p>