This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Functional programming in XSLT
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Functional programming in XSLT
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 14 Mar 2001 11:38:55 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Alexey Gokhberg wrote:
> The current proposal for <exsl:function> does not conform to
> this rule.
> In particular, the <exsl:result> feature, with all rules governing its
> use, looks a little bit odd for me.
You're being polite, I think it's weird! Your <uxsl:define>, I think, is
very close to my <saxon:function>.
Mike Kay
Software AG
>
> The <esxl:function> (or <uxsl:define>, or any similar
> construction) has
> a lot in common with <xsl:variable>. Both are obtaining a
> value in some
> way. The <xsl:return> element from my proposal is modelled after
> <xsl:variable>; semantically, it is equivalent to <xsl:variable> which
> assigns the return value to an anonymous variable.
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list