Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Viewing XML in Safari
Message
From
13/01/2016 13:39:32
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Viewing XML in Safari
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01629764
Message ID:
01629764
Views:
31
This code works fine for displaying the content of a XML in IE, Firefox and Chrome:
        Response.Clear()
        Response.Buffer = True
        Response.Charset = ""
        Response.Cache.SetCacheability(HttpCacheability.NoCache)
        Response.ContentType = "application/xml"
        Response.Write("<?xml version=""1.0""?><test>Test</test>")
        Response.Flush()
        Response.End()
But, Safari does not want to show it properly. It only show the inner XML and does not understand application/xml. I tried text/xml. This was not any better. Anyone has an idea?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform