Hello.
I've posted this question before and I don't think I received any responses. I have also searched this and other forums and my question is a bit different than the others.
I'm using ASP.NET 2005 runing on Windows XP. I would like to display raw xml in a browser from memory and not have to create a file on the file system. My need is to have the functionality that the browsers supply when displaying raw xml and, of course, I need the markup tags to remain unchanged.
Any help would be greatly appreciated!
Display raw XML in an ASP.NET page
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

brian dao16 reputationPosted May 23, 2007, 8:17 AM EDT
Set the application content type to xml then use stream writer to writ the xml content to the client browser.