1 Reply Latest reply: Sep 24, 2013 11:56 PM by Sarathy..beginner RSS

    BI publisher

    Sarathy..beginner

      hi ..

      i have to restrict 10 rows of data in an rtf template for every page..

       

       

      first i have declared a variable <xsl:variable name="lpp" select="number(10)"/>

       

       

      could you explain me the Xsl code:

      lines perpage variable:<xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>

       

      lines treevariable:<xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>

       

      FE invlines:<?for-each:$invLines?>  <?if:(position()-1) mod $lpp=0?>  <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>

       

      and i don't know what the if condition does here..

       

       

      • And this is my Rtf template:

      LinesPerPageVariable LinesTreeVariable FE invLines

      Description

      UOM

      Quantity

      Unit Price

      VAT %

      Total Net

      FELine Description

      UoM

      Quantity

      1. 0.00
      2. 0.00
      3. 0.00EFE

       

       

       

       

      Page break;

      EFE

       

       

      thank you.

      sarathy..