Separation of content and code for web (was Re: Python for web?)
Richie Hindle
richie at entrian.com
Thu Dec 4 04:49:49 EST 2003
> > I believe mixed-case attribute names are not strictly valid XHTML.
>
> Indeed, thats why I said HTML. For XHTML all attribute names are lower case
> only, so the library *could* simply lowercase any attributes you set.
True, but it smacks of too much magic to me (even if it were an explicit
option you had to set). I reckon Peter's dictionary-like interface is
neater.
--
Richie Hindle
richie at entrian.com
More information about the Python-list
mailing list