computeSizeMult — Compute the factor that will multiply (or divide) the initial size in the computeSize function.
<xsl:function name="func:computeSizeMult" as="xs:double+"> <xsl:param name="sizeMult"/> <xsl:param name="scriptlevel"/> ... </xsl:function>
This recursive function compute sizeMult
exponent scriptlevel
. It is done recursively by
multiplying sizeMult
by the result of the recursion. The scriptlevel
is
decremented by one at each recursion call. The basic case is when this value falls to zero and the function simply returns 1.
Note that this function is never recusively called with the same paramaters as in the first call. It is impossible since, the
scriptlevel
is always decremented by one.
Size multiplier represents the factor by wich the initial size has to be multiplied when the script level changes.
Current value for the scriptlevel
. At each recursion, this value is decremented by one to compute the
final factor.