Re: [xsl] Functional programming in XSLT

Subject: Re: [xsl] Functional programming in XSLT
From: "Dave Hartnoll" <themainman@xxxxxxx>
Date: Thu, 15 Mar 2001 15:40:48 -0000
> That's one vote for exsl:result (Uche) and one vote for exsl:return
> (you).  Any other opinions?

I think the best choice depends on whether the processing of exsl:function
is expected to terminate as soon as exsl:result is instantiated (in which
case it would be better to name it exsl:return).

You seem to be in two minds as to whether multiple exsl:result elements
should be allowed, perhaps to build up a compound result. If you go the way
you appear to be leaning, and only allow a single instantiation then
immediate termination would also solve all the issues about what to do when
multiple result elements are instantiated - it just won't happen!

FWIW, a single instantiation of exsl:return which terminates exsl:function
immediately would get my vote.

Dave Hartnoll.

 XSL-List info and archive:

Current Thread