>>> import albatross
>>> ctx = albatross.SimpleContext('.')
>>> ctx.locals.names = ['John', 'Terry', 'Eric']
>>> albatross.Template(ctx, '<magic>', '''
... <al-for iter="i" expr="range(len(names))">
...  <al-input nameexpr="'names[%d]' % i.value()" whitespace>
... </al-for>
... ''').to_html(ctx)
>>> ctx.flush_content()
<input name="names[0]" value="John" />
<input name="names[1]" value="Terry" />
<input name="names[2]" value="Eric" />
