Quote:
|
Originally Posted by the very first Google result for 'ASP write XML'
<%
response.ContentType="text/xml"
response.Write("<?xml version='1.0' encoding='ISO-8859-1'?>")
response.Write("<note>")
response.Write("<from>Jani</from>")
response.Write("<to>Tove</to>")
response.Write("<message>Remember me this weekend</message>")
response.Write("</note>")
%>
|
Make sure you've got the content type set to "text/xml". That's the important bit. Well, that and the XML.