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

From
Robert Koberg <>
To
'Micah Dubinko' <>,
Date
2003-08-08T21:19:09Z
ID
<>
Thread
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