Hi Andreas,
It worked !!! Thank you so much.
Bharathi
Quoting:
> 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 in the generated pdf(ofcorse it will).
Is
> there any way to remove that(either from the style
> sheet directly or after the pdf is generated)?
You can do this in XSLT like so:
<xsl:template match="Section">
<fo:block keep-together="always"
white-space-collapse="false">
<xsl:if test="not(position()=last())">
<xsl:attribute
name="break-after">page</xsl:attribute>
</xsl:if>
<!-- the rest = same as above -->
</fo:block>
</xsl:template>
Bharathi Kongara,
Graduate Student,
Department of Computer Science,
Utah State University,
Logan,UT 84321
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]