<set> create a set object

name
set
xml namespace
http://moyaproject.com

Create a set object. A set is a container, where each item may only appears once. Any data items in the enclosed block are added to the set.

Example

<set dst="hobbits">
    <str>Sam</str>
    <str>Bilbo</str>
    <str>Frodo</str>
    <str>Bilbo</str>
    <str>Sam</str>
</set>
<!-- Will display 3, because duplicates are removed -->
<echo>There are ${len:hobbits} in the set.</echo>
inherited attributes
name purpose type required? default choices
dst Destination reference No
if Conditional expression expression No yes
value Value expression No None