xsl-list
[Top] [All Lists]

RE: counting the no of lines in the output html file.

2005-01-03 00:55:29
Hi,

      I need to include a header after every 80 lines
of output in the transformed html page.  I am able to
count the total no of lines. But how to identify that
the number of line after which I need to include a
header.

E.g. test="count(preceding::line) mod 80 = 0" or test="$i mod 80 = 0" when $i 
is the line number being processed.

Cheers,

Jarno

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



<Prev in Thread] Current Thread [Next in Thread>