Next in thread → Next in month →

RE: [xml-dev] Determining version of MSXML in use

From
Micah Dubinko <>
To
'Robert Koberg' <>,
Date
2003-08-09T00:13:25Z
ID
<>
Thread
RE: [xml-dev] Determining version of MSXML in use
Yep. How about service packs? Is there any way to tell, for instance,
between 4.0 SP1 and 4.0 SP2?

.micah

-----Original Message-----
From: Robert Koberg [mailto:]
Sent: Friday, August 08, 2003 2:19 PM
To: 'Micah Dubinko'; 
Subject: RE: [xml-dev] Determining version of MSXML in use


Hi,

We test to see if a feature is present. For example:

try {
  var testDom = new ActiveXObject("Msxml2.DOMDocument.4.0");
} catch(e) {
  if (!testDom) alert("Get latest...");
}

MSXML2 varies a great deal between its updates so you might want to test for
specific needs of your app.

Best,
-Rob


> -----Original Message-----
> From: Micah Dubinko [mailto:]
> Sent: Friday, August 08, 2003 1:50 PM
> To: 
> 
> Is there a way to, from within script, determine the available version of
> MSXML including which service pack, etc?
> 
> Not that it matters, but it's JavaScript in an IE6 environment.
> 
> Thanks,
> 
> .micah
Next in thread → Next in month →