MichaelNie wrote:

<snip/>

<xsl:if test="count(XY) > 0">
  <fo:page-sequence master-reference="PageMaster">
<fo:flow flow-name="xsl-region-body" > <fo:block>
              <xsl:call-template name="toc" />
            </fo:block>
          </fo:flow>
  </fo:page-sequence>
</xsl:if>

If at least on XY element exists the toc is generated properly but that's
not the case a blank page is put between the index page and the content. I
don't know what causes this blank page.

The problem is caused not by the logic above, but by the default value for attribute force-page-count being "auto" on the fo:page-sequence element.

Specify force-page-count="no-force" on fo:page-sequence and it should fix your problem.

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to