code: protected CmsXmlContent addContentValues(CmsFile file, Map<String, String> contentValues) throws CmsException {
  
          CmsXmlContent content = unmarshalXmlContent(file);
          Locale locale = m_cms.getRequestContext().getLocale();
  
          addContentValues(content, locale, contentValues);
          return content;
      }
docs: Adds the given values to the content document.<p>
  
  @param file the content file
  @param contentValues the values to add
  
  @return the content document
  
  @throws CmsException if writing the XML fails