I have the following setup:

1. sequence for index page
2. sequence for the toc
3. sequence for the content

Now when the content doesn't contain any element <XY> I don't want the toc
page to be created at all.
I surrounded the toc sequence like that:

<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.

regards Michael
-- 
View this message in context: 
http://www.nabble.com/How-to-omitt-a-sequence-tf4811012.html#a13765117
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to