xsl-list
[Top] [All Lists]

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

2007-07-02 09:11:07
On Mon, 02 Jul 2007 10:04:13 -0600, M. David Peterson <m(_dot_)david(_at_)xmlhacker(_dot_)com> 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

--~------------------------------------------------------------------
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>
--~--