blondebier
Programmer
Hi Guys,
This problem has been driving me insane for a day now.
Basically what I am trying to do is display a XML document in my application like it would appear if you opened a XML file in your browser.
I have my XMLDocument and I set this to a Session variable. I then redirect to another .aspx page which has the following in the page_load event:
Response.ContentType = "text/xml"
Response.Write(Session("myXML"))
It wont display though because all the HTML tags are in the page from the .aspx page. Is there any way to stop it rendering the HTML and just display the XML.
Is there a simpler way to do this? How do I do it?
Cheers,
Francis
This problem has been driving me insane for a day now.
Basically what I am trying to do is display a XML document in my application like it would appear if you opened a XML file in your browser.
I have my XMLDocument and I set this to a Session variable. I then redirect to another .aspx page which has the following in the page_load event:
Response.ContentType = "text/xml"
Response.Write(Session("myXML"))
It wont display though because all the HTML tags are in the page from the .aspx page. Is there any way to stop it rendering the HTML and just display the XML.
Is there a simpler way to do this? How do I do it?
Cheers,
Francis