devxlogo

Insert XML Formatted Text in an ASP Page

Insert XML Formatted Text in an ASP Page

To create a file that your IE browser will recognize as XML, simply place these two lines at the top of your ASP page. IE will view it as an XML document using it’s built in stylesheet (IE 5+).

 Response.ContentType = "text/xml" Response.Write ""Response.Write ""'----------------------------------------------------------'Put your ASP code here now makes the XML document'----------------------------------------------------------Response.Write ""Response.Write " "Response.Write "   15seconds.com"Response.Write " "Response.Write " "Response.Write "   internet.com"Response.Write " "Response.Write ""
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist