code: public void writeElement(StringBuffer buffer, String tag, String content) {
  
          buffer.append("<" + tag + ">");
          buffer.append(CmsEncoder.escapeXml(content));
          buffer.append("</" + tag + ">");
      }
docs: Writes a single XML element with text content to a string buffer.<p>
  
  @param buffer the string buffer to write to
  @param tag the XML tag name
  @param content the content of the XML element