I'm trying to create a KML-file with an ASP.NET server application (.asmx). The single features have information, which is shown inside a balloon. I want to format the data inside the balloon with html. My code is as followed:\[code\][WebMethod(Description = "[STRING] Test")][ScriptMethod(UseHttpGet = true)]public XmlDocument test(){ XmlDocument Doc = new XmlDocument(); XmlElement root; string nsp = "http://www.opengis.net/kml/2.2"; XmlElement el; root = Doc.CreateElement("kml", nsp); Doc.AppendChild(root); string temp = "<html>blabla</html>"; el = Doc.CreateElement("name", nsp); XmlCDataSection cdata = http://stackoverflow.com/questions/15505781/Doc.CreateCDataSection(temp); el.AppendChild(cdata); root.AppendChild(el); return Doc;}\[/code\]It returns the following document:\[code\]<?xml version="1.0" encoding="utf-8"?><kml xmlns="http://www.opengis.net/kml/2.2"> <name><![CDATA[>blabla</html>]]></name></kml>\[/code\]Why is the first \[code\]<html>\[/code\]-tag in the CDATA-section missing (except of the \[code\]>\[/code\]) and how can I preserve the \[code\]<html>\[/code\]-tag?