Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:28

Generating the menu from an XML file


Poster: doronca
Dated: Monday June 16 2003 - 12:08:00 BST

: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


Poster: xMANIGHTx
Dated: Monday June 16 2003 - 23:10:30 BST

http://www.milonic.co.uk/menu/forum/vie ... php?t=1920