Re: I just wanna dump a file to the browser as plain text

2002-01-08 Thread Stephan Tinnemeyer
Just an idea: Curtis mentioned that IE examines the beginning of the document's content to determine the type but I cannot believe that Microsoft is able to make this approach work flawlessly.;=) You may try to simply change the file's extension from 'xml' to 'txt'. Maybe IE is happy when it foun

RE: I just wanna dump a file to the browser as plain text

2002-01-08 Thread Jeremy Vinding
I was hoping that this wasn't the answer, but it's the only thing that seems to work (that I've tried :) ) Thanks a million. > -Original Message- > From: Curtis Poe [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 08, 2002 17:22 > > $xml = encode_entities( $xml ); > print >

Re: I just wanna dump a file to the browser as plain text

2002-01-08 Thread Curtis Poe
--- Jeremy Vinding <[EMAIL PROTECTED]> wrote: > I fell incredibly stupid that I can't get such a simple thing to work. > I'm trying to display the source of XML files without allowing IE to parse > them, but it still is parsing it:( Jeremy, Welcome to the wonderful world "Violating Standards"!