Bob,
It'll be something along these lines... to get you started.
<cfxml variable="XML_results">
<data>
...cfstuff here...
</data>
</cfxml>
<cfset XMLText=ToString(XML_results)>
<cffile action="write" file="#expandPath('.')#\temp_xml\youfile.xml"
output="#XMLText#">
Hope that helps.
Michael
> -----Original Message-----
> From: Bob Imperial [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 15, 2007 10:06 PM
> To: CF-Talk
> Subject: RE: writing xml files
>
> Aye...playing around with that now....was hoping for a tutorial of sorts.
> Thanks for the reply ;)
>
> -----Original Message-----
> From: Michael E. Carluen [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 16, 2007 12:56 AM
> To: CF-Talk
> Subject: RE: writing xml files
>
> > I want to write the XML file with CF.
>
>
>
> cfxml?
>
> http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html
> /w
> whelp.htm?context=ColdFusion_Documentation
> <http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/htm
> l/
> wwhelp.htm?context=ColdFusion_Documentation&file=00000352.htm>
> &file=00000352.htm
>
>
>
>
>
>
>
>
>
> > -----Original Message-----
>
> > From: Bob Imperial [mailto:[EMAIL PROTECTED]
>
> > Sent: Thursday, February 15, 2007 9:46 PM
>
> > To: CF-Talk
>
> > Subject: writing xml files
>
> >
>
> > Working on a little flash slideshow here for a client and at present,
> > I'm
>
> > pulling the images and some captions in via an XML file. What I'm
> > looking
>
> > to
>
> > do is make it easy for them to upload their images and use a text
> > field to
>
> > pass their captions along as well. I want to write the XML file with CF.
>
> > Has
>
> > anyone out there done this or something like it that can offer some
>
> > direction or point me in the direction of some decent tutorials on this?
>
> > TIA
>
> >
>
> >
>
> > Bob
>
> >
>
> >
>
> >
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269981
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4