<select $AttributesHTML> <% loop $Options %> <option value="$Value.XML" <% if $Selected %> selected="selected"<% end_if %> <% if $Disabled %> disabled="disabled"<% end_if %> ><% if $Title.exists %>$Title.XML<% else %> <% end_if %> </option> <% end_loop %> </select>