code: public static String encodeXMLContent(final String content) {
  		StringBuffer encoded = new StringBuffer(content);
  		
  		replaceAll(encoded,"&","&amp;");
  		replaceAll(encoded,"\"","&quot;");
  		replaceAll(encoded,"'","&apos;");
  		replaceAll(encoded,"<","&lt;");
  		replaceAll(encoded,">","&gt;");
  		
  		return encoded.toString();
  	}
docs: return a string appropriate for inclusion as an XML tag
  @param content to escape
  @return encoded content
  @deprecated use getFormatter().escapeHtml(String)