All you need to get IE to render XML is to set the Content-type header to
text/xml. That's it. Remove the cfheader tag and add <cfsetting
enablecfoutputonly="yes"> at the top to be safe, and I bet it works...

FYI, Coolfusion has a really cool little utility called http analyzer that
will get you all of the headers without having to telnet.
http://www.coolfusion.com/Downloads.cfm

jon
----- Original Message -----
From: "Troy Simpson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 4:58 PM
Subject: How does this work (cfheader+cfcontent)?


> I was trying to spit out an XML Document for IE to render for me somehow
> managed to get it to work.  But I do not understand how.  In the header,
> I also getting two (Content-type:...).  I really just funble though this
> and would like to understand what is going on here.
>


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to