code: public I_CmsXmlDocument getRawContent() {
  
          if (m_content == null) {
              // content has not been provided, must unmarshal XML first
              CmsFile file;
              try {
                  file = m_cms.readFile(m_resource);
                  if (CmsResourceTypeXmlPage.isXmlPage(file)) {
                      // this is an XML page
                      m_content = CmsXmlPageFactory.unmarshal(m_cms, file);
                  } else {
                      // this is an XML content
                      m_content = CmsXmlContentFactory.unmarshal(m_cms, file);
                  }
              } catch (CmsException e) {
                  // this usually should not happen, as the resource already has been read by the current user
                  // and we just upgrade it to a File
                  throw new CmsRuntimeException(
                      Messages.get().container(Messages.ERR_XML_CONTENT_UNMARSHAL_1, m_resource.getRootPath()),
                      e);
              }
          }
  
          // make sure a valid locale is used
          if (m_locale == null) {
              m_locale = OpenCms.getLocaleManager().getBestMatchingLocale(
                  m_requestedLocale,
                  OpenCms.getLocaleManager().getDefaultLocales(m_cms, m_cms.getRequestContext().getUri()),
                  m_content.getLocales());
          }
  
          return m_content;
      }
docs: Returns the raw XML content object that is accessed by this bean.<p>
  
  @return the raw XML content object that is accessed by this bean