Subject: Re: [xsl] Testing with MSXML 3.0 or MSXML 6.0 (WAS: XSL 2.0 and .NET and VB) From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Mon, 02 Jul 2007 19:55:33 +0200 |
On Mon, 2007-07-02 at 09:08 -0600, M. David Peterson wrote:
On Mon, 02 Jul 2007 06:47:26 -0600, Manfred Staudinger <manfred.staudinger@xxxxxxxxx> wrote:
The other consideration was, should I upgrade to MSXML6 ? Sure I should,Just noticed that the source for the msxsl.exe utility is now available > http://www.microsoft.com/downloads/details.aspx?FamilyId=2FB55371-C94E-4373-B0E9-DB4816552E41&displaylang=en
but when ? Would this mean to lose the ability to test with MSXML3 ?
You see, many question marks, few if any answers (from MS).
Not sure if this will be of any help, but never noticed the source was available before now. Something new? Well, regardless, this should be easy enough to hack into specifying which version of MSXML to use during the transformation.
How about:
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) {} }
Cheers, -- Abel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Testing with MSXML 3.0 or, Manfred Staudinger | Thread | Re: [xsl] Testing with MSXML 3.0 or, Joe Fawcett |
Re: [xsl] Testing with MSXML 3.0 or, M. David Peterson | Date | Re: [xsl] Replacing default namespa, Scott Sauyet |
Month |