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()