[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: XSLT and XML in the same document
Subject: Re: XSLT and XML in the same document|
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Tue, 29 May 2007 10:40:32 +0200
Andrew Welch wrote:
On 5/28/07, Julian Reschke <julian.reschke@xxxxxx> wrote:
David Carlisle wrote:
>> functionality via msxsl:node-set(). Kind of a pain to work
>> two of them inside of the same transformation file, but a simple check
> you can probably just use msxsl:script to define exslt:node set can't
> you,and then just use the exslt version in the actual code.
> I don't think I've tried that though (but I may have done, hard to
I just tried, and the first hurdle is that I can't define a function
called "node-set" in JScript (it's not a legal identifier). But
otherwise a cool idea :-)
Microsoft: please give us exslt:node-set in IE. Please.
There's msxsl:node-set().... used in combination with
function-available() and exslt:node-set() that should be sufficient
for what you need (if a bit of a pain)?
Sufficient yes, but still a pain. The problem is that you can't do
if you need $foo to be a node-set. All this pain and extra case could go
away if Microsoft simply made "exslt:node-set" a synonym for
Best regards, Julian
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format