I am using the (.NET 3.5 SP1) System.Xml.Linq namespace to populate an html template document with div tags of data (and then save it to disk). Sometimes the div tags are e
With XElement divTag = new XElement("div", String.Empty); you get the explicit closing tag