Re: Assignment no, dynamic scoping si (was: Re: [xsl] RE: Wishes for XSL revisions ...

Subject: Re: Assignment no, dynamic scoping si (was: Re: [xsl] RE: Wishes for XSL revisions ...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 1 Jan 2002 21:00:31 GMT
> Do you mean XSLT 1.0 plus a node-set() function? If not, I guess I don't
> understand what you're alluding to (I stayed up past my bedtime last night
> :)

> Oh, maybe you mean using document('') and a top-level element of your own...
> That's obviously more limited because it precludes dynamic parameter values.

I had both in mind, (It's hard to think of node-set as an extension any
more:-) although it was the document() usage that made me stress it was
doable if inconvenient in xslt 1.0. As you say though document() might
not be general enough. However given the fact that node-set goes away in
xslt 2 (assuming xslt2 doesn't go the way of xslt 1.1) anyone arguing
for the addition of an new scoping mechanism needs to argue that the
benefits are worth the costs, given the features proposed in xslt 2.

David


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread