On Fri, 8 Apr 2011 18:08:10 +0300
"Ville M. Vainio" <[email protected]> wrote:

> http://wiki.python.org/moin/Templating

That list lists Genshi as an XML templating system, but it also
supports text.  Genshi allows complex python in the template, which
can, if misused, violate logic / presentation separation, but, if used
wisely, lets you get stuff done without having to learn how the
template system represents "%04d"%x for example.  In Django's templates
that would be {{x|stringformat:"04d"}}, in Genshi it would be
${"%04d"%x} (from memory).  Both are ok, but Genshi's requires less
learning.

I'm not sure of Genshi's development status.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to