How would I code my XSL to scan a text element for form feeds and insert a "<fo:block break-before="page">" and the corresponding "</fo:block>" at the correct places?
Jim -----Original Message----- From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 4:13 PM To: '[EMAIL PROTECTED]' Subject: RE: Page Breaks Try using break-before="page" property of fo:block something like: <fo:block break-before="page"> The text to appear on the next page</fo:block> I think you can leave it empty (i.e. a block with no content), and use it purely as a page break mechanism. Have fun, Vlad -----Original Message----- From: Jim Urban [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 December 2001 11:07 a.m. To: FOP Dev Subject: Page Breaks I have a servlet which dynamically generates XML which is then translated into FO and ran through FOP to generate PDFs. What can I embed (like a "\f") in the XML text that will cause FOP to automatically start a new page? Thanks, Jim Urban Product Manager Netsteps Inc. Suite 505E 1 Pierce Pl. Itasca, IL 60143 Voice: (630) 250-3045 x2164 Fax: (630) 250-3046 << File: ATT70001.txt >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]