This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Detecting MSXML



Try to create a "new ActiveXObject"  with a ProgId available only in the in the
MSXML3 Tech Preview/Beta.

For example:
"MSXML2.FreeThreadedDOMDocument.3.0"

Using error-trapping, test whether the operation succeeds.

Trouble is, I think you can't tell which release you've got (Jan, March, May,
July 2000).

An alternative is to use the FileSystemObject, to test for the existence of
msxml3.dll (probably in windows/system),
with the appropriate FileVersion information.

But you can only do that if the user lets you use the "unsafe" FileSystemObject
in your script.

You could, of course, do both...

Thanks,
Martin



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]