Re: [xsl] How can I achieve correct tail-recursion ?

Subject: Re: [xsl] How can I achieve correct tail-recursion ?
From: Frédéric Schwebel <Fred.Schwebel@xxxxxxxxxxx>
Date: Thu, 7 Jan 2010 17:16:25 +0100
> You may try to avoid tracing numbers in template parameters.
> If your numbering depends on one level of nesting (doc/children) then
> you may use context position to derive the numbers.
> If numbers depend on multilevel nesting then something like
>  count(preceding::*) + count(ancestor-or-self::*) - 1
> can be used to get numbers.

Thanks, thought of that but I can't : line and page number depends
only from page size (chosen by the user) and is completely independant
from the position of the phrase, the title or the list currently
beeing processed.

Current Thread