code: private CmsXmlContent unmarshalXmlContent(CmsFile file) throws CmsXmlException {
  
          CmsXmlContent content = CmsXmlContentFactory.unmarshal(m_cms, file);
          content.setAutoCorrectionEnabled(true);
          content.correctXmlStructure(m_cms);
  
          return content;
      }
docs: Unmarshal the XML content with auto-correction.
  @param file the file that contains the XML
  @return the XML read from the file
  @throws CmsXmlException thrown if the XML can't be read.