PPS
Abel Braaksma wrote:
<xsl:function name="f:fac" as="xs:integer">
<xsl:param name="nr" as="xs:integer" />
<xsl:sequence select="if($nr = 0) then 1 else f:fac($nr -1) *
$nr" />
</xsl:function>
Hmm, on an SA processor, this should've better read (and be safer) as:
<xsl:function name="f:fac" as="xs:nonNegativeInteger">
<xsl:param name="nr" as="xs:nonNegativeInteger" />
<xsl:sequence select="if($nr = 0) then 1 else f:fac($nr -1) *
$nr" />
</xsl:function>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--