SiteMap 3.0 and new route feature

Jan 18, 2011 at 11:29 AM

I'm Trying to use the new route feature from Sitemap 3.0 but when I add route to a node as shown in the sample code and as you answered a previous post, The whole Node and its child nodes disappear from the sitemap.

Sample code from my SiteMap    

<mvcSiteMapNode title="Home" controller="Home" action="Index1" changeFrequency="Always" updatePriority="Normal" key="Home" >

      <mvcSiteMapNode title="Page1" controller="Home" action="page1" />

      <mvcSiteMapNode title="Page2" controller="Home" action="page2" />

    </mvcSiteMapNode>

    <mvcSiteMapNode title="Home2" controller="Home2" action="Index" key="Home2" route="Home2">

      <mvcSiteMapNode title="H2Page1" controller="Home2" action="page1" /> 

     <mvcSiteMapNode title="H2Page2" controller="Home2" action="page2" />

    </mvcSiteMapNode>