this works fine
<html>
<head>
<title>Test MSXML Install</title>
<head>
<body>
<script language="JScript" type="text/javascript">
try {
var strXML = "<?xml version='1.0' ?><AnyElement>Sometext</AnyElement>"
var objXMLDOM = new ActiveXObject ( "Msxml2.DOMDocument.3.0" ) ;
objXMLDOM.loadXML(strXML) ;
//If no exception is raised MSXML 3 is installed.
document.write("MSXML 3 is installed on your machine.") ;
}
// If there is an exception it could be a coding error but
// it is likely that MSXML 3 is not installed.
catch (e)
{
document.write("MSXML 3 is NOT installed on your machine.");
}
</script>
</body>
</html>
..................................................
this gives me a blank page
<html>
<head>
<title>Test MSXML Install</title>
<head>
<body>
<script language="JScript" type="text/javascript">
try {
var strXML = "<?xml version='1.0' ?><AnyElement>Some
text</AnyElement>"
var objXMLDOM = new ActiveXObject ( "Msxml2.DOMDocument.3.0" ) ;
objXMLDOM.loadXML(strXML) ;
//If no exception is raised MSXML 3 is installed.
document.write("MSXML 3 is installed on your machine.") ;
}
// If there is an exception it could be a coding error but
// it is likely that MSXML 3 is not installed.
catch (e)
{
document.write("MSXML 3 is NOT installed on your machine.");
}
</script>
</body>
</html>
<html>
<head>
<title>Test MSXML Install</title>
<head>
<body>
<script language="JScript" type="text/javascript">
try {
var strXML = "<?xml version='1.0' ?><AnyElement>Sometext</AnyElement>"
var objXMLDOM = new ActiveXObject ( "Msxml2.DOMDocument.3.0" ) ;
objXMLDOM.loadXML(strXML) ;
//If no exception is raised MSXML 3 is installed.
document.write("MSXML 3 is installed on your machine.") ;
}
// If there is an exception it could be a coding error but
// it is likely that MSXML 3 is not installed.
catch (e)
{
document.write("MSXML 3 is NOT installed on your machine.");
}
</script>
</body>
</html>
..................................................
this gives me a blank page
<html>
<head>
<title>Test MSXML Install</title>
<head>
<body>
<script language="JScript" type="text/javascript">
try {
var strXML = "<?xml version='1.0' ?><AnyElement>Some
text</AnyElement>"
var objXMLDOM = new ActiveXObject ( "Msxml2.DOMDocument.3.0" ) ;
objXMLDOM.loadXML(strXML) ;
//If no exception is raised MSXML 3 is installed.
document.write("MSXML 3 is installed on your machine.") ;
}
// If there is an exception it could be a coding error but
// it is likely that MSXML 3 is not installed.
catch (e)
{
document.write("MSXML 3 is NOT installed on your machine.");
}
</script>
</body>
</html>