I am trying to generate a xml file to use with flash component, to build a drop down menu for my front end. This is how I imagine it would work.
Our users, can type a Category and pick if its going to be displayed as a main menu item, or a submenu item. So lets say they type "Phones" which is a main menu item. Then they type "Nokia" which is a sub menu item of "Phones" and then "3650" which is a sub menu item of "Nokia". They can choose what menu item it is from the radio butons.
Now I wanna build an XML file that looks like this.
<menu lang="en">
<item label="Phone">
<item label="Nokia">
<item label="3650"/>
</item>
</item>
Any ideas on where I can start. I read up on cfxml tag but was not sure how to implement it or if it was the right way of going about it. Would it be easier to insert everything a structures and array and go from there?
The
Our users, can type a Category and pick if its going to be displayed as a main menu item, or a submenu item. So lets say they type "Phones" which is a main menu item. Then they type "Nokia" which is a sub menu item of "Phones" and then "3650" which is a sub menu item of "Nokia". They can choose what menu item it is from the radio butons.
Now I wanna build an XML file that looks like this.
<menu lang="en">
<item label="Phone">
<item label="Nokia">
<item label="3650"/>
</item>
</item>
Any ideas on where I can start. I read up on cfxml tag but was not sure how to implement it or if it was the right way of going about it. Would it be easier to insert everything a structures and array and go from there?
The