public String render(TerminologyFactory factory, String tag) throws ModelException {
   String resultString = rawString;
   resultString = resultString.replace("<<tmtTag>>", tag);
   resultString = resultString.replace("<<tmtOwner>>", "Author is not implemented");
   String roots = "";
   for (TerminologySet s : factory.getRootCollections()) {
     if (s.getVersionsForTag(tag).length > 0)
       roots += s.getLabel(s.getVersionsForTag(tag)[0]) + " ";
     else roots += s.getLabel(s.getLastVersion()) + " ";
   }
   resultString = resultString.replace("<<tmtRoots>>", roots);
   return resultString;
 }