How do I specify route values in the site map?

Aug 23, 2011 at 4:46 PM

For some reason

<mvcSiteMapNode title="Shoes" action="Index" controller="StockItem" RouteValues="new {categoryId=3}"  />

does not work. I know that in the code it would look like

node.RouteValues.Add("categoryId", category.Id);
But how do I do the same in site map xml? The reason I need it in xml is because I cannot figure why my dynamic site map doesn't work and I am trying to mock it up statically... -Stan
Coordinator
Aug 26, 2011 at 1:55 PM
<mvcSiteMapNode title="Shoes" action="Index" controller="StockItem" categoryId="3"  />