Constants Iterator

A constants iterator returns the same value with each call to next(). hasNext() always returns false.

For example:

    
    <!-- returns the integer value 2 -->
    <dm:constants value="2"/>

    <!-- returns the year 2000 -->
    <dm:constants value="1/1/2000 0:0:0" datatype="date" format="yyyy"/>