XML Tag: limiting returned rows in a loop in BI Publisher template level


Using the below XSL command you can

<?for-each:SUMMER1[position()<6]?>

Where 6 is the no of rows you want to display in each page,

suppose your XML contain 30 rows,you wanted to display 6 rows in each page.

you can do the for loop for 6 rows, then you can also add the command to page break
when the position reaches 6 :)

<?if:position() mod 3 =0?> <xsl:attribute name="break-before">page</xsl:attribute> <?end if?>

Comments

Popular posts from this blog

BI Publisher: If Condition with sub-string in rtf template