recommended way of generating HTML from Python

John J. Lee jjl at pobox.com
Mon Feb 21 19:13:23 EST 2005


Matt Goodall <matt at pollenation.net> writes:
[...]
> Agreed. Although I would go further and say that it's important to
> choose a templating system that allows the Python developer to annotate
> XHTML templates using **valid XML**, i.e. no "for x in y" loops, no "if
> foo" conditionals, no "i = 0" variable setting, no expression
> evaluations, etc.
[...]

Why does use of a templating system whose documemts are valid XML
imply no loops, conditionals, expression evaluation etc.?

Or are you just talking about particular (non-XML) syntaxes for these
constructs?


John



More information about the Python-list mailing list