code: public CmsADEConfigDataInternal parseSitemapConfiguration(String basePath, CmsResource configRes)
      throws CmsException {
  
          LOG.info("Parsing configuration " + configRes.getRootPath());
          CmsFile configFile = m_cms.readFile(configRes);
          CmsXmlContent content = CmsXmlContentFactory.unmarshal(m_cms, configFile);
          return parseConfiguration(basePath, content);
      }
docs: Parses the sitemap configuration given the configuration file and base path.<p>
  
  @param basePath the base path
  @param configRes the configuration file resource
  @return the parsed configuration data
  @throws CmsException if something goes wrong