code: public final String escapeAttribute(String in) {
          in = escape(in);
          in = in.replaceAll(
                  "\"",
                  "&quot;"
              );
  
          return in;
      }
docs: Escape the given string to be a valid content for an xml attribute
  
  @param in the string to escape
  
  @return the escaped string