Thanks, that seems to work. Now can you tell me why? Why would it be Application/XML and not text/XML?
-------------- Ian Skinner Web Programmer BloodSource Sacramento, CA -----Original Message----- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 1:51 PM To: CF-Talk Subject: Re: Getting IE to accept XML from ColdFusion Ian Skinner wrote: > I'm generating XML with Cold Fusion's <cfxml> tag and then sending to the > client with a <cfcontent> tag. This works just great in Netscape, but IE > will not recognize the XML. Any suggestions on how to get it to do so? If > I view the source of IE's non-XML page save it with an XML file extension, > then view it; this also works just fine. So I'm getting valid XML, just IE > is not recognizing it. > > <cfxml variable="test"> > <parent> > <child>John</child> > <child>Jane</child> > <child>Suzy</child> > </parent> > </cfxml> > > <cfheader name="Content-Disposition" value="filename=text.xml"> > <cfcontent type="text/xml"><cfoutput>#ToString(test)#</cfoutput> How about: <cfcontent type="application/xml" reset="yes"> Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

