' % name] for option in options: if option == default: selected = ' selected="selected"' else: selected = "" output.append("%s" % (selected, option)) output.append("") return XML("".join(output)) ?>