Multiple SiteMaps

Jan 17, 2011 at 2:40 AM

I would like to have two separate sitemaps in my MVC2 application - one for the top level navigation, the other for breadcrumbs - the information in these files will be quite different.

I've created two separate providers in my web.config and pointed them at the two separate .sitemap files but it seems both my menu and my site map path are utilizing information in my default provider (or a combination of the two - is this beacuse it doesn't clear the list before reading the second file?

This is a real show stopper - if I can't do this, I will have to hand-code my top level navigation. Any help would be most appreciated. I'm using the latest build of the source code (2.3.1 from mvcsitemap-56176).