code: private static void serializeElement(final String tag, final String content, final ContentHandler handler)
        throws SAXException {
      final AttributesImpl attributes = new AttributesImpl();
      handler.startElement(null, tag, tag, attributes);
      handler.characters(content.toCharArray(), 0, content.length());
      handler.endElement(null, tag, tag);
    }
docs: Creates an element with the specified tag name and character content.
  
  @param tag
  tag name.
  @param content
  character content.
  @param handler
  destination of serialization events.
  @throws SAXException
  if exception during serialization.