サイト用の静的な.sitemapファイルがあります。各メインカテゴリ(@Products )に5つのサブカテゴリを追加して、メニューに表示されるようにしたい(メニューは機能するカスタムヘルパーです。実行時にいくつかのページに追加するだけです...)これは可能ですか?Sitemap.Provider
サイトマップ:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap>
<node controller="Home" action="Index" title="Home" description="Homepage">
<node controller="Newsroom" action="Index" title="News" description="" />
<node controller="Products" action="Index" title="Products" description="">
<node controller="Products" action="MainCat1" title="MainCat1" isDynamic="true" dynamicParameters="category" />
<node controller="Products" action="MainCat2" title="MainCat2" isDynamic="true" dynamicParameters="category" />
<node controller="Products" action="MainCat3" title="MainCat3" isDynamic="true" dynamicParameters="category" />
</node>
</node>
</siteMap>