code: public void removeModelPage(CmsResource sitemapConfig, CmsUUID structureId) throws CmsException {
  
          CmsFile sitemapConfigFile = m_cms.readFile(sitemapConfig);
          CmsXmlContent content = CmsXmlContentFactory.unmarshal(m_cms, sitemapConfigFile);
          CmsConfigurationReader reader = new CmsConfigurationReader(m_cms);
          reader.parseConfiguration(m_adeConfig.getBasePath(), content);
          List<CmsModelPageConfig> modelPageConfigs = reader.getModelPageConfigs();
  
          int i = 0;
          for (CmsModelPageConfig config : modelPageConfigs) {
              if (config.getResource().getStructureId().equals(structureId)) {
                  break;
              }
              i += 1;
          }
          if (i < modelPageConfigs.size()) {
              content.removeValue(CmsConfigurationReader.N_MODEL_PAGE, Locale.ENGLISH, i);
          }
          writeSitemapConfig(content, sitemapConfigFile);
      }
docs: Removes a model page from the sitemap configuration.<p>
  
  @param sitemapConfig the sitemap configuration resource
  @param structureId the structure id of the model page to remove
  
  @throws CmsException if something goes wrong