Re: [xsl] Testing with MSXML 3.0 or MSXML 6.0 (WAS: XSL 2.0 and .NET and VB)

Subject: Re: [xsl] 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:10:37 -0600
On Mon, 02 Jul 2007 10:04:13 -0600, M. David Peterson <m.david@xxxxxxxxxxxxx> wrote:

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?

And to answer my own question (or rather, Google helping to answer my own question ;-),


via http://msdn2.microsoft.com/en-us/library/ms256189.aspx

system-property('msxsl:version') should do the trick (starting up my Windows XP VM now to verify).

Worth pointing out (from the same link),

"A prefix corresponding to a namespace declaration "urn:schemas-microsoft-com:xslt" must be in scope for the msxsl:version property."

--
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 | http://dev.aol.com/blog/3155


Current Thread