<fo:block break-before="page"> not working
Here should go questions about transforming XML with XSLT and FOP.
<fo:block break-before="page"> not working
Hi,
Still new to this language so please go easy on me.
Here's my (simplified) code :
<xsl:template name="Doc2Page_1">
<xsl:call-template name="myTemplate1"/>
</xsl:template>
<xsl:template name="Doc2Page_2">
<fo:block break-before="page">
<xsl:call-template name="myTemplate2"/>
</fo:block>
</xsl:template>
I needed to add a third page to my document so I coded :
<xsl:template name="Doc2Page_3">
<fo:block break-before="page">
<xsl:call-template name="myTemplate3"/>
</fo:block>
</xsl:template
The contents of page3 were superimposed on page2, ie no page break.
After a lot of playing but little understanding, I added :
<fo:block> </fo:block> after the line :
<xsl:template name="Doc2Page_3">. Now I get my 3rd page.
Anyone see what might be happening?
Still new to this language so please go easy on me.
Here's my (simplified) code :
<xsl:template name="Doc2Page_1">
<xsl:call-template name="myTemplate1"/>
</xsl:template>
<xsl:template name="Doc2Page_2">
<fo:block break-before="page">
<xsl:call-template name="myTemplate2"/>
</fo:block>
</xsl:template>
I needed to add a third page to my document so I coded :
<xsl:template name="Doc2Page_3">
<fo:block break-before="page">
<xsl:call-template name="myTemplate3"/>
</fo:block>
</xsl:template
The contents of page3 were superimposed on page2, ie no page break.
After a lot of playing but little understanding, I added :
<fo:block> </fo:block> after the line :
<xsl:template name="Doc2Page_3">. Now I get my 3rd page.
Anyone see what might be happening?
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service