OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ Lists Home | Date Index | Thread Index ]


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.


> -----Original Message-----
> From: Micah Dubinko [mailto:MDubinko@cardiff.com]
> Sent: Friday, August 08, 2003 1:50 PM
> To: xml-dev@lists.xml.org
> 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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS