[Home] [By Thread] [By Date] [Recent Entries]

  • To: 'Robert Koberg' <rob@k...>, xml-dev@l...
  • Subject: RE: Determining version of MSXML in use
  • From: Micah Dubinko <MDubinko@c...>
  • Date: Fri, 8 Aug 2003 17:13:25 -0700

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:rob@k...]
Sent: Friday, August 08, 2003 2:19 PM
To: 'Micah Dubinko'; xml-dev@l...
Subject: RE:  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:MDubinko@c...]
> Sent: Friday, August 08, 2003 1:50 PM
> To: xml-dev@l...
> 
> 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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member