ba*****************@gmail.com wrote:
How to determine the version of the MSXML installed on a
computer and
There are several MSXML versions that can be installed side by side on
the same system so there is not necessarily "the MSXML version" on one
system but rather several can be there.
With script you can check e.g. for MSXML version 6.0 whether you can
instantiate objects
try {
var xmlDocument = new ActiveXObject('Msxml2.DOMDocument.6.0');
}
catch (e) {
// handle case here that MSXML 6.0 DOMDocument can't be
// created as ActiveXObject
}
Inside of IE that will tell you whether your script can create that
object. If you end up in the catch clause that can however have at least
two reasons:
1) MSXML 6 is not installed
2) or creating such ActiveXObjects is not enabled for the zone your
script is run in
--
Martin Honnen
http://JavaScript.FAQTs.com/