str = str.replace(/&/gm, "&amp;").replace(/</gm, "&lt;") .replace(/>/gm, "&gt;").replace(/"/gm, "&quot;"); if(!noSingleQuotes){ str = str.replace(/'/gm, "&#39;"); } return str; 
str = str.replace(/&/gm, "&amp;").replace(/</gm, "&lt;") .replace(/>/gm, "&gt;").replace(/"/gm, "&quot;"); if(!noSingleQuotes){ str = str.replace(/'/gm, "&#39;"); } return str; 
dojo.string.escapeXml = function(/*string*/str, /*boolean*/noSingleQuotes){//summary://  Adds escape sequences for special characters in XML: &<>"'//  Optionally skips escapes for single quotes  str = str.replace(/&/gm, "&amp;").replace(/</gm, "&lt;")    .replace(/>/gm, "&gt;").replace(/"/gm, "&quot;");  if(!noSingleQuotes){ str = str.replace(/'/gm, "&#39;"); }  return str; // string}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js