Re: Sending XML to MSIE7

From: Date: Fri, 15 Feb 2008 16:03:18 +0000
Subject: Re: Sending XML to MSIE7
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-269372@lists.php.net to get a copy of this message
Brian Dunning wrote: > I just tried that, and unfortunately the MSIE7 toolkit behavior was the > same. Darn, I had high hopes for your suggestion as soon as I read it. I > fear this means there's little we can do server-side in PHP, except to > choose something other than XML for the result. > > > On Feb 14, 2008, at 11:56 PM, Per Jessen wrote: > >> Brian Dunning wrote: >> >>> Does anyone know if there's a way to send XML to MSIE7 and avoid >>> having MSIE mangle the XML with CSS to display it pleasantly as HTML? >>> >> >> Isn't it enough to send it with Content-Type: application/octet-stream ? Do you want the user to download the file? Try using: 'Content-Disposition: attachment; filename="..."' If you want to display the raw xml, you must uncheck an option in ie7 to disable the style sheet. -Shawn

« previous php.general (#269372) next »