title: Is it possible use ASP.NET Sitemap to generate Breadcrumbs?
body: <p>I want my ASP.NET site to have simple menu string aka Breadcrumbs.
  I have created Sitemap with all required elements and registered into Web.config. For example:</p>
  
  <pre><code>&lt;siteMap&gt;
      &lt;siteMapNode url="Default.aspx" title="Home" &gt;
          &lt;siteMapNode url="hosting/Default.aspx" title="Hosting" /&gt;
          &lt;siteMapNode url="software/Default.aspx" title="Software"&gt;
              &lt;siteMapNode url="firefox/Default.aspx" title="Firefox"&gt;
                  &lt;siteMapNode url="Download.aspx" title="Download" /&gt;
                  &lt;siteMapNode url="Support.aspx" title="Support" /&gt;
              &lt;/siteMapNode&gt;
          &lt;/siteMapNode&gt;
      &lt;/siteMapNode&gt;
  &lt;/siteMap&gt;
  </code></pre>
  
  <p>And created a control placed on Masterpage. Here it's menu generation code:</p>
  
  <pre><code>protected void Control_Load(Object sender, EventArgs e)
  {
      string path = String.Empty;
      StringCollection list = new StringCollection();
  
      foreach (string str in Request.Url.Segments)
      {
          path += str;
          string link = String.Format("&lt;a href=\"{0}://{1}{2}\"&gt;{3}&lt;/a&gt;", Request.Url.Scheme, Request.Url.Authority, path, this.names[str]);
          list.Add(link);
      }
  
      foreach (string str in list)
      {
          menu += String.Concat(str, SeparatorLine);
      }
      menu = menu.Remove(menu.LastIndexOf(SeparatorLine));
  }
  </code></pre>
  
  <p>But it uses a StringDictionary like { { "/", "Home" }, { "hosting/", "Hosting" }, { "software/", "Software" } .. }</p>
  
  <p>How can I use a query to Sitemap instead of it? Or maybe something else, not Sitemap, but beforehand invented.</p>