[EMAIL PROTECTED] wrote:
I don't think these are the best solutions because you loose some of your
XML tag formatting with xsl:text.
Worse, the code will fail under certain circumstances, for
reasons hard to understand for the average user. It is
likely that it will always fail in future distributions
of FOP. The drawbacks of using disable-output-escaping
are discussed in regular intervals on the XSL list, search
through their archive.
A solution which always works is the following:
<xsl:for-each select="row[position() mod 20 = 1]"/>
<xsl:apply-templates select=".|following-sibling::row[position() < 19]"/>
This is known as "grouping by position", one of the simpler
Actually, this is an XSLT problem. There is more expertise
available on the XSL list, and there is an XSL FAQ