Loop#
Repeat the contents of this element several times.
Child elements#
ClearPage, Column, Li, LoadDataset, Loop, Message, NextFrame, NextRow, Paragraph, PlaceObject, ProcessNode, SaveDataset, SetVariable, Switch, Tr, Until, Value, While
Parent elements#
AtPageCreation, AtPageShipout, Case, Columns, Contents, ForAll, Function, Loop, Otherwise, Record, SaveDataset, Table, Td, Tr, Until, While
Attributes#
select
(XPath expressions)- The number of loops. Must be a number or castable as a number.
variable
(text, optional)- If given, store the current loop value in this variable. If omitted, the loop value is stored in the variable
_loopcounter
.
Example#
<PlaceObject>
<Table>
<Loop select="5" variable="i">
<Tr>
<Td><Paragraph><Value select="$i"/></Paragraph></Td>
</Tr>
</Loop>
</Table>
</PlaceObject>