Menu Using an XMLDataSource Control

In this sample, the Menu control is databound to an XMLDataSource control that retrieves its data from the sitemap.xml. This requires that you databind the XML data to the corresponding MenuItem properties. In this example the XPath property of the XMLDataSource control is used to return all of the nodes below the root for display by the Menu.

Skip Navigation Links
Library HomeExpand Library Home
Library Home
Content Page