XSL formfeed - please help me

Here should go questions about transforming XML with XSLT and FOP.
hrban
Posts: 1
Joined: Tue Mar 29, 2005 12:49 pm

XSL formfeed - please help me

Post by hrban »

Hi!

I have following problem to solve:

In a xml there are 35 position of datas on one page. I want to insert a formfeed (or a work around) in the xsl file after 25 postions. Position 26 should begin with a new page (header included).
I know there is no formfeed in html code but maybe there is a workaround how to display more XML/XSL pages

Does anybody know a solution?
thnx for your help.
hrban
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

In a XSLT 2.0 stylesheet using the xsl:result-document instruction with the href attribute you can generate a result document in addition to the main document specified in the command for the XSLT processor. If you don't specify the href attribute the result tree contained inside the xsl:result-document element will be placed in the main result document. You can read more at http://www.w3.org/TR/xslt20/#element-result-document

I hope this helps,
Sorin
Post Reply