Subject: Re: Functional programming in XSLT
From: "Steve Muench" <Steve.Muench@xxxxxxxxxx>
Date: Thu, 15 Mar 2001 07:12:00 -0800
|
| But there are still two things I don't much care for. One is the "implicit
| result" of an RTF, I'd prefer people to write
|
| <exsl:function ...>
| <exsl:return>
| <tree/>
| </exsl:return>
| </exsl:function>
|
| rather than just
|
| <exsl:function ...>
| <tree/>
| </exsl:function>
I agree with Michael on this.
| Secondly, I don't like treating multiple exsl:result's as a "recoverable
| error".
I agree witih Michael on this, too.
| I still prefer having a static constraint on where <exsl:return> can appear,
| but if you can't live with that, have a strict rule that only one may be
| instantiated.
A rule that only one can be instantiated seems workable to me.
| (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.)
I also prefer "return". It's more "verby", as M.K. notes, in the
XSLT naming style.
______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly
http://www.oreilly.com/catalog/orxmlapp/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: [exsl] Naming exsl:return/exsl:result (Was: Re: Functional programming in XSLT), (continued)
- Lassi A. Tuura - Wed, 21 Mar 2001 06:19:41 -0500 (EST)
- Michael Kay - Wed, 21 Mar 2001 01:17:40 -0500 (EST)
- Uche Ogbuji - Mon, 19 Mar 2001 23:36:01 -0500 (EST)
- Uche Ogbuji - Mon, 19 Mar 2001 23:27:22 -0500 (EST)
- Steve Muench - Thu, 15 Mar 2001 10:12:57 -0500 (EST) <=
- Uche Ogbuji - Mon, 19 Mar 2001 23:32:41 -0500 (EST)
- Jeni Tennison - Thu, 15 Mar 2001 12:20:56 -0500 (EST)
- Jeni Tennison - Wed, 14 Mar 2001 08:07:23 -0500 (EST)
- David Rosenborg - Wed, 14 Mar 2001 10:01:17 -0500 (EST)
|
|