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: Designs for XSLT functions


> <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


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