ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] Re: . in for
by Dimitre Novatchev other posts by this author
Jan 6 2002 5:08PM messages near this date
Re: [xsl] Re: . in for | Re: [xsl] Re: . in for
Hi Jeni,

>  
>  I imagine that a processor would be able to spot situations where the
>  position() or last() function had been called and only compose the
>  steps that were composable.
>    

It seems to me obviously not so -- I mean the general task of spotting ***any***
function in the expression, that could reference not only the specific item in the
sequence. This includes any user-defined functions.

This leads us to the great topic of type-checking and why it is necessary...

In case there isn't strong type-checking such re-writing/optimisations are
impossible in the general case.


Cheers,
Dimitre.

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
Thread:
Dimitre Novatchev
Jeni Tennison
Dimitre Novatchev
Jeni Tennison
Dimitre Novatchev
Michael Kay
Jeni Tennison
Dimitre Novatchev
Jeni Tennison
Dimitre Novatchev
Jeni Tennison
Michael Kay
Dimitre Novatchev
Dimitre Novatchev
Michael Kay

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved