/// <summary>
 /// Sanitizes the <paramref name="text"/> for any invalid characters.
 /// </summary>
 /// <param name="text">The content of an XML element to sanitize.</param>
 /// <returns>A sanitized <see cref="String"/> of <paramref name="text"/>.</returns>
 /// <remarks>The <paramref name="text"/> is sanitized for characters less or equal to a Unicode value of U+0019 (except U+0009, U+0010, U+0013).</remarks>
 public static string SanitizeElementText(this string text)
 {
     return(XmlUtility.SanitizeElementText(text));
 }
 /// <summary>
 /// Sanitizes the <paramref name="text"/> for any invalid characters.
 /// </summary>
 /// <param name="text">The content of an XML element to sanitize.</param>
 /// <param name="cdataSection">if set to <c>true</c> supplemental CDATA-section rules is applied to <paramref name="text"/>.</param>
 /// <returns>A sanitized <see cref="String"/> of <paramref name="text"/>.</returns>
 /// <remarks>Sanitation rules are as follows:<br/>
 /// 1. The <paramref name="text"/> cannot contain characters less or equal to a Unicode value of U+0019 (except U+0009, U+0010, U+0013)<br/>
 /// 2. The <paramref name="text"/> cannot contain the string "]]&lt;" if <paramref name="cdataSection"/> is <c>true</c>.<br/>
 /// </remarks>
 public static string SanitizeElementText(this string text, bool cdataSection)
 {
     return(XmlUtility.SanitizeElementText(text, cdataSection));
 }