>>> import albatross
>>> class Ctx(albatross.SimpleContext):
...     def input_add(self, *args):
...         print args
... 
>>> ctx = Ctx('.')
>>> albatross.Template(ctx, '<magic>', '''
... <al-input type="image" nextpage="m" srcicons/right.gif" whitespace>
... ''').to_html(ctx)
('image', 'nextpage,m', None, 0)
>>> ctx.flush_content()
<input type="image" srcicons/right.gif" name="nextpage,m" />
