Allowing users to edit XML in a text editor is also a design error. It isn't difficult for them to make the document non-well-formed. So give them a proper XML editor, and your empty-element problem will also cease to exist.
Joined: May 31, 2011
Okay... Thanks Billy and Paul
subject: Preserving empty elements in XMLSerializer