In CFML, XML can be leveraged as an array of structs...

- Calvin 

-----Original Message-----
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 29, 2005 1:52 PM
To: CF-Talk
Subject: Re: XML format for menus

curious...what's the advantage of using XML versus just storing an an array
of structs?

On 7/29/05, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> I've used this format with great success:
> 
> <menu name="Main" id="main" permissions="...">
> 
>         <menuitem href="..." permissions="...">User List</menuitem>
> 
>         <menu name="Security" permissions="...">
> 
>                 <menuitem href="..." permissions="...">Add User</menuitem
/>
>                 <menuitem href="..." permissions="...">User 
> List</menuitem />
> 
>         </menu>
> 
> </menu>
> 
> cheers,
> barneyb
> 
> On 7/29/05, Andy <[EMAIL PROTECTED]> wrote:
> > Does anyone have an XML format that they would share?  I want to 
> > convert my "hard-coded" system and an easily maintainable XML file 
> > seems like a good approach.
> >
> >
> > Andy
> >
> >
> 
> --
> Barney Boisvert
> [EMAIL PROTECTED]
> 360.319.6145
> http://www.barneyb.com/
> 
> Got Gmail? I have 50 invites.
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213375
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to