title: Can we force XmlWriter to issue <my-tag></my-tag> rather than <my-tag/>?
body: <p>By default, </p>
  
  <pre><code>someXmlWriter.WriteElementString("my-tag", someString);
  </code></pre>
  
  <p>produces <code>&lt;my-tag /&gt;</code></p>
  
  <p>I looked around <a href="http://msdn.microsoft.com/en-us/library/system.xml.xmlwritersettings.aspx" rel="noreferrer"><strong>XmlWriterSettings</strong></a> class for possible options that would force the writer to produce <code>&lt;my-tag&gt;&lt;/my-tag&gt;</code> instead but didn't find anything.</p>
  
  <p>Is there a simple way of forcing the <a href="http://msdn.microsoft.com/en-us/library/system.xml.xmlwriter.aspx" rel="noreferrer"><strong>XmlWriter</strong></a> to issuing empty elements with "open tag, close tag" rather than  with the short-hand form?</p>
  
  <p><strong>Edit</strong>:<br>
  Yes!  I realize that with regards to XML validity the two notations are equivalent, valid and all...   I'm however working with legacy code which parses such XML using Read(), i.e. at node level (!) and fumbles things up by Read()-ing when on an empty node...<br></p>
  
  <p>Hence my question comes in the context of limiting the amount of changes to this legacy code.  The question is indeed overlapping with <a href="https://stackoverflow.com/questions/1176202/c-xmltextwriter-writeelementstring-fails-on-empty-strings">this SO question</a> as suggested;  none of the options offered there are however easily applicable to my situation.</p>