code: protected List<String> getSiteConfigPaths(String path) {
  
          String normalizedPath = CmsStringUtil.joinPaths("/", path, "/");
          List<String> prefixes = new ArrayList<String>();
  
          List<String> parents = new ArrayList<String>();
          String currentPath = normalizedPath;
          while (currentPath != null) {
              parents.add(currentPath);
              currentPath = CmsResource.getParentFolder(currentPath);
          }
  
          for (String parent : parents) {
              if (m_siteConfigurationsByPath.containsKey(parent)) {
                  prefixes.add(parent);
              }
          }
          Collections.sort(prefixes);
          return prefixes;
      }
docs: Finds the paths of sitemap configuration base paths above a given path.<p>
  
  @param path the path for which to find the base paths of all valid sitemap configurations
  
  @return the list of base paths