public static string RemoveInvalidXmlChars(string text) { return string.IsNullOrEmpty(text) ? "" : InvalidXmlChars.Replace(text, ""); }