private void WriteCData(System.Xml.XmlTextWriter writer, string tag, string value) { writer.WriteStartElement(tag); writer.WriteCData(value); writer.WriteEndElement(); }