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

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to