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

Pages

Thursday, 7 September 2017

Defining Headers and Footers in BI/XML Publisher



There are 2 ways to define headers and footers.

1. Native word headers and footers
2. Headers and footers by using XML tags

1. Native word headers and footers



Headers and Footers in BI/XML Publisher


2. Headers and footers by using XML tags


If your template requires multiple headers and footers, create them by using BI Publisher tags to define the body area of your report. You may also want to use this method if your header and footer contain complex objects that you wish to place in form fields. When you define the body area, the elements occurring before the beginning of the body area will compose the header. The elements occurring after the body area will compose the footer.

Use the following tags to enclose the body area of your report:

<?start:body?>
<?end body?>

Use the tags either directly in the template, or in form fields.

The Employee detail contains a simple header and footer and therefore does not require the start body/end body tags. However, if you wanted to add another header to the template, define the body area as follows:

    Insert <?start:body?> before the emp group tag: <?for-each:G_EMPNO?>

    Insert <?end body?> after the emp group closing tag: <?end for-each?>


Headers and Footers by using XML tags








Share this article :

0 comments:

Post a Comment