Problem
You can't get a clean page break on your document. Word page breaks don't work, and the official guideline doesn't work.
http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#pgebreaks
In the template sample shown in the following figure, the field called PageBreak contains the split-by-page-break syntax:
Place the PageBreak field with the <?split-by-page-break:?> syntax immediately before the <?end for-each?> field. The PageBreak field sits inside the end of the SUPPLIER loop. This will ensure a page break is inserted before the occurrence of each new supplier. This method avoids the ejection of an extra page at the end of the group when using the native Microsoft Word page break after the group.
Solution
Rather than using <?split-by-page-break:?>, use
<?for-each@section:G_1?> BREAK
Where the syntac of "BREAK" field is
<xsl:attribute name="break-before">page</xsl:attribute>
This works perfectly.
Acknowledgement
https://community.oracle.com/thread/983330
Excellent. Thank you
ReplyDeletethank you!!
ReplyDeleteWonderful article, thanks for putting this together! This is obviously one great post. Thanks for the valuable information and insights you have so provided here. Danilo
ReplyDeletebeen struggling a while with page break this actually works great stuff, thanks!!
ReplyDeleteexcellent solution for page break to use before after end tag of group.
ReplyDeleteWonderful. Worked very well for me.
ReplyDeleteGreat solution. Thank you very much!!!!
ReplyDelete