The information in this article applies to:
SYMPTOMSWhen navigating to an XML file, Internet Explorer does not display the XML in the browser with the default XML viewer. CAUSEThe Web server and the XML file are not specifying enough information for Internet Explorer to detect that the file contains XML text. RESOLUTION
At least one of the following is required for Internet Explorer to correctly detect that a file contains XML text and display the file in the built-in XML viewer:
Active Server Pages (ASP) pages that return XML information can easily return the correct content type using the ContentType property of the Response object:
This line of code must be added to the absolute top of the ASP page.A standard XML declaration could look like the following:
© Microsoft Corporation 1999, All Rights Reserved. Additional query words: XML
Keywords : kbGrpInet kbIE500 kbXML kbDSupport |
Last Reviewed: November 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |