code: public static String getRdfaAttributes(I_CmsXmlDocument document, Locale contentLocale, String elementPath) {
  
          I_CmsXmlSchemaType schemaType = document.getContentDefinition().getSchemaType(elementPath);
          if (schemaType != null) {
              String path = "";
              if (elementPath.contains("/")) {
                  path += "/" + removePathIndexes(elementPath.substring(0, elementPath.lastIndexOf("/")) + ":");
              }
              path += getTypeUri(schemaType.getContentDefinition()) + "/" + elementPath;
              return String.format(
                  RDFA_ATTRIBUTES,
                  CmsContentDefinition.uuidToEntityId(document.getFile().getStructureId(), contentLocale.toString()),
                  path);
          } else {
              return "";
          }
      }
docs: Returns the RDF annotations required for in line editing.<p>
  
  @param document the parent XML document
  @param contentLocale the content locale
  @param elementPath the element xpath to get the RDF annotation for
  
  @return the RDFA