Follow us: Connect on YouTube Connect on YouTube Connect on YouTube

Pages

Monday, 4 September 2017

Page Breaks in BI/XML Publisher Reports




To create a page break after the occurrence of a specific element use the page break before ending group 

"split-by-page-break" form field within the group immediately before the <?end for-each?> tag that closes the group as shown below. 



Business Requirement:

  Sometimes business wants supplier needs to start freshly from the starting of the page to send hard copy of different suppliers we can use page break before ending of the main group  


Page Break Syntax:



<?split-by-page-break:?>

                             or

<xsl:attribute name="break-before">page</xsl:attribute>
 

Sample XML Tags:


<?for-each:Group?>
<?XML TAG1?>
<?XML TAG2?>
<?split-by-page-break:?>
<?end for-each?>
 
Example:

   Let us take example on EMP and DEPT tables  if you want display department wise employee details and every department employee details need to start on new page 
you need to use split-by-page-break before ending department group.

Page Breaks in BI XML Publisher Reports



Share this article :

0 comments:

Post a Comment