On Mon, 02 Jul 2007 09:55:53 -0600, Robert Koberg <rob(_at_)koberg(_dot_)com>
wrote:
var versions = ["Msxml2.DOMDocument.6.0", "Msxml2.DOMDocument.5.0",
"Msxml2.DOMDocument.4.0", "Msxml2.DOMDocument.3.0", ,
"MSXML2.DOMDocument", "MSXML.DOMDocument", "Microsoft.XMLDOM"];
for (var i=0; i < versions.length; i++) {
try {
new ActiveXObject(versions[i]);
alert("Using: " + versions[i]);
break;
} catch (e) {}
}
This would work inside the browser to determine which version of MSXML was
installed, but I believe the problem is how one would go about testing
both MSXML 3 and 6 using a PI invoked transformation, or better yet,
*which* version of MSXML did the tranformation.
Does anyone happen to know off hand if there is an order of precedence for
PI-based transformations when multiple versions of MSXML exist on the
target client?
--
/M:D
M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 |
http://dev.aol.com/blog/3155
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--