[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] RE: Designs for XSLT functions


Subject: [xsl] RE: Designs for XSLT functions
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 19 Feb 2001 22:10:46 -0000

> <xsl:function name="my:func">
>   <xsl:param name="a"/>
>   <xsl:param name="b"/>
>    ...
>   <xsl:variable name="c" select="..."/>
>   <xsl:variable name="d" select="..."/>
>    ...
>   <xsl:return select="..."/>
> </xsl:function>

Far too restrictive; it doesn't allow you to do any processing of node-sets
that can't be done by standard functions, for example it wouldn't allow you
to implement max() and min().

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread