Generating the menu from an XML file

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
doronca
Advanced
Advanced
Posts: 12
Joined: Mon Jun 16, 2003 11:57 am

Generating the menu from an XML file

Post by doronca »

:idea: Hi !
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 ! :D
xMANIGHTx
Super Advanced
Super Advanced
Posts: 53
Joined: Fri Nov 08, 2002 10:17 am

Post by xMANIGHTx »

Post Reply