If you want to use an XML file as the data source for your menu then you need to create an XML file using a simple editor like Note Pad by following the structure below:
<?xml version="1.0" encoding="utf-8" ?>
<items>
<tab title="
tab name" [url="
the url"]>
[<tab title="
tab name" [url="
the url"]>
...[
child tabs comes here in the same format , ... ]
</tab>]
[
other tabs, ... ]
</items>
Example :
<?xml version="1.0" encoding="utf-8" ?>
<items>
<tab title="Hardware">
<tab title="Desktop" url="~/desktop.aspx">
<tab title="Complete Systems" url="~/systems.aspx" />
<tab title="Barebone Systems" url="~/barebones.aspx" />
<tab title="Accessories" url="~/accessories.aspx" />
</tab>
<tab title="Notebooks" url="~/notebook.aspx" />
</tab>
<tab title="Software">
<tab title="Windows" url="~/windows.aspx" />
<tab title="Office" url="~/office.aspx" />
</tab>
</items>
Notifocation:
- Tab Name should be unique because it will be used as the item primary key.