[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Testing with MSXML 3.0 or MSXML 6.0 (WAS: XSL 2.0

Subject: Re: Testing with MSXML 3.0 or MSXML 6.0 (WAS: XSL 2.0 and .NET and VB)
From: "M. David Peterson" <m.david@xxxxxxxxxxxxx>
Date: Mon, 02 Jul 2007 10:04:13 -0600
Re:  Testing with MSXML 3.0 or MSXML 6.0 (WAS: XSL 2.0
On Mon, 02 Jul 2007 09:55:53 -0600, Robert Koberg <rob@xxxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.