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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Preserving empty elements in XMLSerializer