dm:counter

Creates a counter iterator element, which is a type of list.

Element Information

Element class CounterIteratorConfig
Implementation class CounterIterator
Nested elements same as dm:list

Attributes

The counter element supports the same attributes as dm:list.

Examples

    
    <!-- generates (100, 1), (100, 2), (200, 1), (200, 2), (300, 1), (300, 2) -->
    <dm:counter>
      <dm:ints range="[1,2]"/>
      <dm:ints range="[100,300]100"/>
    </dm:counter>