On Tue, Feb 26, 2002 at 10:32:44AM -0500, Ranga Nathan wrote: > When a CGI scripts prints an XML file to IE, it renders it as plain text!!! > But when it GETs an XML file with the xml extension it renders it with > collapse/expand view. Wonder if anyone has an angle on this. How can one > tell IE from a CGI to collaps/expand? I tried different mime types.. IE > simply seems to ignore it!!! > script is:
Yeah, I ran into a very related problem many moons ago and discovered that IE frequently ignores the mime-type. The solution I used was to append a filename, with the correct extension, to the url. The script knows to ignore the last path_info component, but it makes IE very happy. Actually it makes most browsers pretty happy. -Gyepi -- All right everyone, line up alphabetically according to your height. (Casey Stengel)
