View Single Post
Old September 5th, 2006, 12:31 AM
Bonywasa_warrior Bonywasa_warrior is offline
Registered User
Join Date: Aug 2006
Location: Auckland, , New Zealand.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

The siteMap remind me of the navigation used in Microsoft UIP (Ages ago) . “siteMap” should have only one <siteMap> node. And one and only main <siteMapNode>. That doesn’t mean you cant group your child pages to a logical <siteMapNode>. Its best to show a proper example. Make sure to have the “url” attribute unique. That will be the internal unique identifier. Have a look at the bellowing sample.

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="" >
    <siteMapNode url="Default.aspx" title="Home" description="The default page" >
      <siteMapNode url= "ManageStock/Default.aspx" title="Home2" description="The default page" >
        <siteMapNode url="ManageStock/Page1.aspx" title="Run1" description="another page"/>
        <siteMapNode url="ManageStock/Page2.aspx" title="Run2" description="another page"/>

      <siteMapNode url= "BuyStock/Default.aspx" title="Home3" description="The default page" >
        <siteMapNode url="BuyStock/Page1.aspx" title="Run1" description="another page"/>
        <siteMapNode url="BuyStock/Page2.aspx" title="Run2" description="another page"/>