Hi,
If I use php to echo an XML file directly to the response, all I see is the XML text.
This is because Google Chrome comments out the XML declaration at the start of the text, causing it to treat the rest of the XML as an HTML document.
If I view source, copy and paste the XML exactly as it is into an actual XML file, place this file in the exact same directory on my web site as the php file, and try to load the XML file, it works correctly.
Is there some trick to the response I need to do in order to emulate an XML download? (e.g. headers)
Regards,
Rob.