[thelist] ASP browsercheck code for XML-enabled browser?
Bert Szoghy
BertS at Escom.ca
Wed Apr 5 12:10:55 2000
The following ASP VBScript will tell you if the browser is Java enabled:
<% Response.Buffer = True %>
<% Set objBrowse = Server.CreateObject("MSWC.BrowserType")%>
<% If objBrowse.javaapplets = true then %>
<!-- #INCLUDE FILE="../lib/Header_With_Java.asp" -->
<% Else %>
<!-- #INCLUDE FILE="../lib/Non_Java_Header.asp" -->
<% End If %>
You can substitute "javaapplets" with "javascript" to find out if the
browser has javascript enabled.
My question is, is there a quick and easy way to find out if the browser is
XML-enabled?