|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] xquery & web server in browserFlorent Georges lists at fgeorges.orgFri Jun 19 01:23:38 PDT 2009
John Snelson wrote: > The problem is the dynamic dispatch in XSLT - you can't > know at compile time which template will be invoked where. > This is a problem because: > 1) You generally can't get accurate static type information > across template application. > 2) You generally can't optimize across template application > boundaries. > I think these aren't necessarily as much of an issue has > they have traditionally been thought as. Yes. My guess is that this could become a problem as third-party XSLT libraries will become to be more and more used. Even if such a library is installed once, it couldn't be compiled once at the global level. It should be compiled once for each stylesheet using it, unless some assumptions can be verified. Maybe XSLT 2.1 will provide some way to handle that problem. But as you said, this is not clear that's something useful. Wait and (maybe) see... Regarding dynamism of a query, first-class function items will be very interesting. That's not the same thing as being able to overload a template rule, but that will provide a module the ability to change the behavior of an imported module (in some explicitly defined ways though.) Regards, -- Florent Georges http://www.fgeorges.org/
|
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
|






