<table border=0> <s1ws:collection> <tr><td><input type=checkbox name="c" value="<s1ws:collItem property="name" />"> <s1ws:collItem property="display name" / ></td></tr> </s1ws:collection> </table>
The above code will display all collections with checkboxes.
<select name=elementname> <s1ws:collection> <option value="<s1ws:collItem property="name" />"> <s1ws:colleItem property="display name" /> </s1ws:collection> </select>
This function iterates through the available collections and passes each item to the collection item tag, which in turn displays the name and display name of the item.