Subject: Re: 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: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE: Functional programming in XSLT, (continued)
- Michael Kay - Wed, 14 Mar 2001 06:38:04 -0500 (EST)
- Jeni Tennison - Thu, 15 Mar 2001 00:49:18 -0500 (EST)
- Michael Kay - Thu, 15 Mar 2001 05:34:29 -0500 (EST)
- Jeni Tennison - Thu, 15 Mar 2001 07:08:42 -0500 (EST)
- Dave Hartnoll - Thu, 15 Mar 2001 10:45:13 -0500 (EST) <=
- Colin Muller - Thu, 15 Mar 2001 18:56:33 -0500 (EST)
- Jeni Tennison - Fri, 16 Mar 2001 12:36:34 -0500 (EST)
- Colin Muller - Fri, 16 Mar 2001 20:33:35 -0500 (EST)
- Uche Ogbuji - Mon, 19 Mar 2001 23:53:13 -0500 (EST)
|
|