troubleshooting Question

How to set up an XML feed using ASP

Avatar of lpzCoville
lpzCoville asked on
2 Comments1 Solution429 ViewsLast Modified:
Howdy all,

I've been told that our comapny needs to set up an XML feed for some of our trade partners to get product data from us.  I've written the code to generate the XML in ASP, question I can't figure out is: how do I get the browser (or whatever) to recognize the output as XML?  The response from the ASP file has the correct XML header, but IE/Mozilla "see" it as an HTML output.


my file name: catalog-onix.asp


<?xml version="1.0" encoding="windows-1252" ?>

Do I need to have the ASP code generate a .xml file on the server and then Response.Redirect to it? I've never done this before, so I don't know quite how it's supposed to work

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros