code: public String createNavigation() {
  
          StringBuffer buffer = new StringBuffer(2048);
          int endlevel = calculateEndLevel();
          String spaces = getSpaces((endlevel - m_depth) * 2);
          if (m_navRootPath != null) {
              buffer.append("\n").append(spaces).append("<p>\n");
              buffer.append(spaces).append("  <ul>\n");
              List<CmsJspNavElement> navElements = m_jsp.getNavigation().getSiteNavigation(m_navRootPath, endlevel);
              if (navElements.size() > 0) {
                  createNavigationInternal(buffer, navElements);
              }
              buffer.append(spaces).append("  </ul>\n");
              buffer.append(spaces).append("</p>");
              return buffer.toString();
          } else {
              CmsIllegalArgumentException ex = new CmsIllegalArgumentException(
                  Messages.get().container(Messages.GUI_HELP_ERR_SITEMAP_MISSING_PARAM_1, "navRootPath"));
              throw ex;
          }
      }
docs: Returns a string containing the navigation created by using the internal members.<p>
  
  The navigation is a nested html list. <p>
  
  @return a string containing the navigation created by using the internal members