Hello XML Experts!
With the following code snip I am attempting to do this:
Divide up a series of lines into 10 lines per section. The last section will usually have a lesser number of lines--as it has whatever is left.
I need to add blank lines to the final section so it has the same number of lines (in size) as the others do. It is hard to explain why, but it is how I have to do it to get the correct placement.
Everything seems to be working in the logic that I have, but I can't get the final part---actually making the linefeed happen, work.
This is what I have:
<xsl:call-template name ="lastpage">
<xsl:with-param name="count" select="(last() mod 10)"/>
<xsl:if test="position()=last() and last() div 10 != 0">
**For each select = $count (could be any number between
1 and 9) I need to have a linefeed but I am not sure
how to make this work.**
Any comments or suggestions would be appreciated.