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