You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Osman Çınar Eren <Ci...@isbank.com.tr> on 2004/11/26 10:50:12 UTC
starting a new page
hi,
in the following body after the first template is applied, i want to start the second template in a new page.
<fo:table-body>
<xsl:apply-templates select="elementlist[key='aktif']"/>
?????????????????????????
<xsl:apply-templates select="elementlist[key='pasif']"/>
</fo:table-body>
how can i achieve this?
thanks in advance.
best regards...
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: starting a new page
Posted by "Andreas L. Delmelle" <a_...@pandora.be>.
> -----Original Message-----
> From: Osman Ç?nar Eren [mailto:Cinar.Eren@isbank.com.tr]
>
Hi,
> in the following body after the first template is applied, i want
> to start the second template in a new page.
>
Since you leave us guessing... the template probably currently looks like:
<xsl:template match="elementlist">
<fo:block ...>
Adding this:
<xsl:if test="(key = 'pasif') and (position() = 1)"
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:if>
should be sufficient.
HTH!
Greetz,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org