XML to screen from LS agent

When the following bit of code is executed, IE6 displays it as text. But if I view the source and save it as a file then open in in IE, it displays as XML. Is there something I should add (or remove) to the code to get the XML displayed correctly in browser?

Call exporter.SetInput(docDent)

Call exporter.SetOutput(stream)

exporter.OutputDOCTYPE = False

Call exporter.Process

Print "Content-Type: text/xml"

Print stream.ReadText()

Subject: XML to screen from LS agent

Try

Print “Content-Type: text/xml”

Print “”

Print stream.ReadText()

Subject: RE: XML to screen from LS agent

Thanks. Since your recommendation worked, I also tested and when with:

Print “Content-Type: text/xml” & Chr(13)

Print stream.ReadText()