Are you using <cfsavecontent variable="content"> to do this? It should allow you to put the site map XML into a variable that can be written the the file.
On Fri, Nov 14, 2008 at 12:36 PM, Robert Harrison <[EMAIL PROTECTED]> wrote: > I wrote an XML site map generator. It's at: > http://www.austin-williams.com/sitemap_generator.cfm > > This works perfectly and gives me exactly what I need. If I copy/paste the > output to the file Sitemap.xml it's perfect. > > I'd like to just write this content to a file. Tried using CFFILE but it > giving me a fit with all the "". There are a bunch of loops, etc., and when > I escape the "" the loops and variables don't work. > > Any ideas on how I can just write the display data to a file? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

