xsl-list
[Top] [All Lists]

Deleting a blank page after a last element

2005-08-24 16:06:58
Hi 

I've the following template in the style sheet

<xsl:template match="Section">
       <fo:block keep-together="always"
break-after="page" white-space-collapse = "false">
        <xsl:apply-templates select="SectionName"/>
        <xsl:apply-templates select="SectionHeader"/>
        <xsl:apply-templates select="Question"/>
           </fo:block>
 </xsl:template>

I'm using a break-after="page" to force a page break,
as  my requirement is that each section starts on a
new page. But this is forcing a blank page after the
last section. Is there any way to remove that?

Thanks
Bharathi


                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>