Thanks Barney.

Charlie, I am doing it because I can easily create and maintain the menus
using an XML Editor such as xmlSpy and load at the beginning of a session
based off of language preferences.

Andy

-----Original Message-----
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 29, 2005 12: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.
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213293
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