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 ------------ <rootelem> <tag> <a>something</a> <b>something</b> <c>something</c> </tag> <tag> <b>something</b> <c>something</c> </tag> <tag> <a>something</a> <b>something</b> <c>something</c> </tag> <!--more <tag> elements --> </rootelem> ------------- 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 page. 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!*) </xsl:if> </xsl:apply-template> My requirement is like a page break.. Hoping for help on this problem.. Regards, Mukul __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Getting encoding error on, Américo Albuquerque | Thread | Re: [xsl] Page break with XSL-FO, J.Pietschmann |
[xsl] Xalan redirect extension erro, Jason Varsoke | Date | Re: [xsl] Page break with XSL-FO, J.Pietschmann |
Month |