Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating dynamic xml

Status
Not open for further replies.

countdrak

Programmer
Joined
Jun 20, 2003
Messages
358
Location
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top