public static string EscapeTextValue(object value, Context cx) { XMLLib xmlLib = CurrentXMLLib(cx); return xmlLib.EscapeTextValue(value); }