[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: My favourite XSLT enhancement requests

Subject: Re: My favourite XSLT enhancement requests
From: "Lassi A. Tuura" <lat@xxxxxx>
Date: Thu, 14 Sep 2000 20:54:52 +0200
Re: My favourite XSLT enhancement requests
> In other words, dynamically scoped variables (instead of or
> in addition to to statically scoped ones)

Yes.  Perl calls them `local', I think.

You have a point in that they are out of fashion, probably for a good
reason.  I have to admit that I wouldn't ask for them if there was a
less lengthy parameter passing syntax. Anyone for Michael Kay's
suggestion of functions defined as templates (just recenly, IIRC
xsl:function was his proposal)?  They would be most cool!  And do away
with almost all of my named templates...  And wonder of wonders,
parameters would be easier to pass and most likely I wouldn't be asking
for this feature :-)

Even if templates-as-functions existed, I'd probably be asking to be
able to construct the function name dynamically for multi-choice
dispatching.  An evaluate() function would solve that very nicely. 
Together with the templates as functions it would make a most useful
tool!

Cheers,
//lat
-- 
Smith & Wesson: The original point and click interface.


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.