private string XmlEncode(string text) { //TODO: Improve encoding return text.Replace("&", "&").Replace("<", "<"); }