code: public static String escapeXml(final Object target) {
          if (target == null) {
              return null;
          }
          return HtmlEscape.escapeHtml4Xml(target.toString());
      }
docs: <p>
  XML-escapes the specified text.
  </p>
  
  @param target the text to be escaped
  @return the escaped text.
  @since 2.0.9