Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Viewing XML in Safari
Message
De
13/01/2016 13:39:32
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Viewing XML in Safari
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01629764
Message ID:
01629764
Vues:
32
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform