Re: Functional programming in XSLT
> Hi Mike, > > (And incidentally, I prefer "return" to "result". It's in tune with > > the imperative style of other keywords such as call-template, > > apply-templates, include, import.) Counter-examples are easy enough: xsl:variable, xsl:param, xsl:key, ... XSLT has both imperative and declarative keywords. > That's one vote for exsl:result (Uche) and one vote for exsl:return > (you). Any other opinions? I prefer xsl:result precisely because it isn't imperative, but I should note that though Mike's argument for exsl:return is flawed, that I could not give a non-flawed argument for exsl:result. It's probably just a amatter of personal preference, and not something over which I'd lose sleep. -- Uche Ogbuji Principal Consultant uche.ogbuji@xxxxxxxxxxxxxxx +1 303 583 9900 x 101 Fourthought, Inc. http://Fourthought.com 4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA Software-engineering, knowledge-management, XML, CORBA, Linux, Python XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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