/** * Escapes special xml characters within a string. <br> * < > & " are escaped. The single quote character is not escaped. * * @param s the string to escape * @return the escaped string */ public static String escapeXmlForBrowser(String s) { return Val.execEscapeXml(s, false); }
/** * Escapes special xml characters within a string. <br> * < > & " ' are escaped. * * @param s the string to escape * @return the escaped string */ public static String escapeXml(String s) { return Val.execEscapeXml(s, true); }