Re: markup.py - HTML/XML generator

2006-03-22 Thread Gerard Flanagan
Fredrik Lundh wrote: > Gerard Flanagan wrote: > > > Now I can do this: > > > > page = HtmlPage('Test Page') > > navbar = page.div(id='left').ul(css='navbar') > > for href,link in {'/home':'Home', '/shop':'Shop', > > '/cart':'Cart'}.iteritems(): > > navbar.li.a(link,href=href) >

Re: markup.py - HTML/XML generator

2006-03-22 Thread Fredrik Lundh
Gerard Flanagan wrote: > Now I can do this: > > page = HtmlPage('Test Page') > navbar = page.div(id='left').ul(css='navbar') > for href,link in {'/home':'Home', '/shop':'Shop', > '/cart':'Cart'}.iteritems(): > navbar.li.a(link,href=href) > page.div(id='main').h1('Header').p

Re: markup.py - HTML/XML generator

2006-03-20 Thread Daniel Nogradi
> > Just in case the thought of not having a millionth implementation of a > > HTML/XML generator for Python makes the world as we know it a > > miserable place, well then your suffering might be over soon since > > exactly the one millionth implementation is out. You can download > > markup.py fro

Re: markup.py - HTML/XML generator

2006-03-20 Thread Gerard Flanagan
Daniel Nogradi wrote: > Just in case the thought of not having a millionth implementation of a > HTML/XML generator for Python makes the world as we know it a > miserable place, well then your suffering might be over soon since > exactly the one millionth implementation is out. You can download >

[ann] markup.py - HTML/XML generator

2006-03-19 Thread Daniel Nogradi
Just in case the thought of not having a millionth implementation of a HTML/XML generator for Python makes the world as we know it a miserable place, well then your suffering might be over soon since exactly the one millionth implementation is out. You can download markup.py from http://markup.sou