Home › Forums › DITA and XMetaL Discussion › Pagebreaks and DITA › Reply To: Pagebreaks and DITA
Reply to: Pagebreaks and DITA
January 22, 2010 at 12:45 amHi Pmoan,
Two ways come to mind for handling arbitrary page breaks:
1. Insert processing instructions (PIs) into your XML, and implement PI processing like the DocBook XSL library:
http://www.sagehill.net/docbookxsl/PageBreaking.html#HardPageBreaks
2. Add an outputclass attribute to the figures that need a page break before them, and write an XSL template to catch these cases.
I've had decent luck with method #2.
HTH,
– Chris