/// <summary>
 /// Encodes strings for use in XML
 /// </summary>
 /// <param name="text">Text to convert</param>
 /// <returns>XML-encoded string</returns>
 /// <remarks>Identical to HtmlEncode()</remarks>
 public static string XmlEncode(this string text)
 {
     return(MarkupHelper.XmlEncode(text));
 }