code: public static String escapeAttributeName(String s) {
          s = cleanWS(s);
          s = replaceAll(s, BackSlashPtn, EscBackSlash);
          s = replaceAll(s, EqualPtn, EscEqual);
          return s;
      }
docs: Standardize and escape an attribute name.
  <p>
  Clean white space. Escape back-slashes and equals-sign with a back-slash.
  
  @param s
  The attribute name to standardize and escape.
  
  @return The standardized and escaped attribute name.