code: public String getOpeningTagById(int elementId, String attributes)
      {
          return "<" + table.getKeyByValue(new Integer(elementId)) + " " + attributes + ">";
      }
docs: returns the opening xml-tag associated with the repository element with
  id <code>elementId</code>.
  @return the resulting tag