I just use:

<cfcontent reset="yes" type="text/xml"><!DOCTYPE...

to basically clear anything before the CFCONTENT tag.

However, if you have any processing within your body/content, you will
need to handle it like Marlon suggests.

M!ke

-----Original Message-----
From: Marlon Moyer [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 14, 2005 11:37 AM
To: CF-Talk
Subject: Re: rss feed

I've used this in the past for exporting only the information wanted and
no whitespace:

<cfsetting enablecfoutputonly="true"/>
<cfsetting showdebugoutput="false"/>
<cfcontent type="text/xml">
<cfscript>
writeoutput("stuff you want to output"); </cfscript>


On 11/14/05, daniel kessler <[EMAIL PROTECTED]> wrote:
> I'm creating an RSS feed from our What's New database table.
>
> I've had problems using CFContent because there must not be any other
content on the page.  What I really want to do is after a SQL UPDATE or
INSERT is create the RSS xml file.
>
> Should I use CFContent or CFFile in this case?  Any tips are welcome.
>
> thanks and good afternoon (in my case).
>
> daniel
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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