<repeater> (Template Tag)


Description


The <repeater> tag generates multiple rows of data in a table. The data are acquired from a data source.


Example


 <?xml version="1.0" encoding="utf-8"?>

 <assembly id="nxm.tests.basic.pl">

. . .

Example 1:

 <document>

   <section width="21.0" height="29.7">

     <table style="small;debug">

       <repeater input="lines">

         <row>

. . .

         </row>

       </repeater>

     </table>

   </section>

 </document>


Example 2:

 <document>

   <section width="21.0" height="29.7">

     <paragraph style="small;debug">

       <repeater input="lines">

         <paragraph>

. . .

         </paragraph>

       </repeater>

     </paragraph>

   </section>

 </document>

. . .

 </assembly>


The above example shows the production of a PDF document on a sheet of paper of the size 21.0 cm by 29.7 cm.


Attributes





Attribute

Description

input

The source of data



Child elements permitted


<row>, <paragraph>,


Parent elements permitted


All parent elements are permitted.