That showdebugoutput should be no - debug output is going to royally screw
with your xml. Beyond that, I'm not sure what exactly you're trying to do.

On 12/2/05, daniel kessler <[EMAIL PROTECTED]> wrote:
>
> Alright, using your sample code, I seem to have produced a viable xml
> document.
> Now the way that I understand an rss feed is that I produce an xml file on
> the server and a link that goes to it.
> Can I make that file on the server using cfheader?  I've given it a shot
> but it's not working.  Right now it displays on the page rathe than in a
> file.  If I change the cfcontent type to applicatin/excel it'll save a
> file.  Any clues to the right path would be nice - not an answer but a
> clue... (cause we could all use a clue)
>
> <cfsavecontent variable="xml"><?xml version="1.0"?>
> <header>This is my header</header>
> </cfsavecontent>
> <cfsetting showdebugoutput="yes">
> <cfheader name="Content-Disposition" value="inline; filename=h.xml">
> <cfcontent type="text/xml"><cfoutput>#xml#</cfoutput>
>
>
>
>
> >All the above is doing is bundling up that multi-line variable so you can
> >use it later.
> >
> >Then, "later" you can output it as xml:
> ><cfcontent type="text/xml"><cfoutput>#xml#</cfoutput>
> >
> >If you have debugging turned on for your IP, be sure to kill it for this
> >page. The following code should give you a properly formatted XML
> document
> >with one thing in it (header).
> >
> ><cfsavecontent variable="xml"><?xml version="1.0"?>
> ><header>This is my header</header>
> ></cfsavecontent>
> ><cfsetting showdebugoutput="no">
> ><cfcontent type="text/xml"><cfoutput>#xml#</cfoutput>
> >
> >
> >
> >
> >On 11/15/05, daniel kessler <[EMAIL PROTECTED]> wrote:
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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