Howdy folks... couldn't find this one searching so I figure I'll throw it out -

Environment is CF7, working with a pre-built Flash photo gallery that
reads configuration from an XML file.  I need to create this file on
the fly, what is the "best way" to do it.

I'm thinking of two different options:
1. Create a regular variable and put the code directly in there.
2. Make use of the XML functions to create the XML object in memory
and then figure out how to get it to the file.

I wish I could just pass the XML directly but that's not supported
using the method I'm working with.  Does anyone have any good ideas?
The XML file contains the settings for the gallery viewer which are
static based on the site (the setup element and it's properties) as
well as any number of image elements and their properties.  The user
can upload photos on the fly so I have to regenerate the XML on the
fly.

As far as managing the "orphaned XML" files, I'm basically making a
list of XML files and deleting those files with the OnSessionEnd
method of Application.cfc.

Thanks!
Hatton

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287830
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to