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


> 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


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