View Single Post
 
Old March 27th, 2006, 01:17 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I think what the error message is saying is that you need one, and only one "root" node, that in turn can have multiple sub nodes. Right now, your sitemap defines two siteMapNodes that server as the root, which is not OK.

Nest each subsequent element in the first "Home" element:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
    <siteMapNode url="default.aspx" title="Home" description="Home">
      <siteMapNode url="default1.aspx" title="Home1"    
            description="Home1"></siteMapNode>
      <siteMapNode url="default2.aspx" title="Home1"    
            description="Home2"></siteMapNode>
    </siteMapNode>
</siteMap>
HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.