Table
menuid navigationurl text parentmenuid isheadermenu
1 | NULL | InternetSites | NULL | True |
2 | NULL | Yahoo | 1 | False |
3 | www.yahoo1.com | Yahoo1 | 2 | False |
4 | www.yahoo2.com | Yahoo2 | 2 | False |
5 | NULL | 1 | False | |
6 | www.google1.com | Google1 | 5 | False |
7 | www.google2.com | Google2 | 5 | False |
8 | NULL | Services | NULL | True |
9 | NULL | IT | 8 | False |
10 | www.it1.com | it1 | 9 | False |
11 | www.it2.com | it2 | 9 | False |
12 | NULL | Infrastructure | 9 | False |
13 | www.infra1.com | infra1 | 12 | False |
14 | www.infra2.com | infra2 | 12 | False |
IsHeaderMenu represents menus which are present in the menubar.
This is my table structure.
User can add more menus from the UI provided.
I have to create the menu dynamically by using the above table structure.
I want to prepare xml for the above structure and want to do.
Can you give me some sample ?
Regards
Sreedhar Ambati