[xsl] Page break with XSL-FO

Subject: [xsl] Page break with XSL-FO
From: Mukul <mukulw3@xxxxxxxxx>
Date: Sat, 17 May 2003 09:30:21 -0700 (PDT)
Hello ,
I am working with Apache FOP. I am taking i/p from XML
file and generating PDF using XSL-FO and XSLT. My XML
has structure like




<!--more <tag> elements -->


In all the <tag> tags, <b> and <c> will be there.
There may be any no. of <tag> tags within
rootelem(greater or equal than 1). The <a> tag will be
present in the 1st <tag> element and optionally in the
next <tag> elements.

I want that in the PDF, when a new <a> tag comes in
<tag> , the output in PDF should start from a new

I want to apply some logic like
<xsl:apply-template select="tag">
<xsl:if test="a">   <!--a new <a> tag comes -->
output something in pdf e.g. <fo:block .. (*but this
should start from a new page!*)

My requirement is like a page break..

Hoping for help on this problem..


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread