private static string QuoteAttributeValue(string s) { return Clean(s).Replace(@"\", @"\\").Replace(@";", @"\;").Replace(@")", @"\)"); }