code: protected String getPath(CmsClientSitemapEntry entry, String newUrlName) {
  
          if (newUrlName.equals("")) {
              return entry.getSitePath();
          }
          return CmsResource.getParentFolder(entry.getSitePath()) + newUrlName + "/";
      }
docs: Helper method for getting the full path of a sitemap entry whose URL name is being edited.<p>
  
  @param entry the sitemap entry
  @param newUrlName the new url name of the sitemap entry
  
  @return the new full site path of the sitemap entry