
I have built an online store in ASP. The store has multilevel categories stored in an XML file. This is a sample:
<?xml version="1.0" encoding="windows-1255" ?>
- <root_parent type="root" value="main" url="FolderList.asp">
<folder_55 type="folder" value="Hot products" url="FolderList.asp?FT_parent_id=55" />
- <folder_42 type="folder" value="Electronics" url="FolderList.asp?FT_parent_id=42">
<folder_43 type="folder" value="TV sets" url="FolderList.asp?FT_parent_id=43" />
<folder_44 type="folder" value="DVD" url="FolderList.asp?FT_parent_id=44" />
</folder_42>
<folder_46 type="folder" value="Printers" url="FolderList.asp?FT_parent_id=46" />
</root_parent>
This menu has 3 main items under the root - Hot Products, Electronics & Printers. Under Electronics there are TV sets & DVD.
1. Does anyone has a piece of ASP code to help me generate the menu ?
2. Can anyone give me an idea how to generate the menu ?
Thanks !
