Subject: Re: [xsl] Sequential numbers in pure xslt, breaking the no-side-effect rule|
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Fri, 16 Mar 2007 19:28:13 +0100
The transformation will only need (this can be done almost entirely in a wrapper) to surround its oun output with two "coventional outputs" -- the new tick count and the stop condition for the transformation.
Every "tick" corresponds to a single iteration as carried out by f:iterUntil().
In this case I show a transformation, which can use the tick count at any point. To illustrate doing some useful work, it produces the tick count multiplied by 3.
Cheers, -- Abel