This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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@fourthought.com               +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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]