push-style templating - an xml-like way to process xhtml

Paul Boddie paul at boddie.org.uk
Sun Nov 2 15:17:06 EST 2008


On 2 Nov, 15:25, Terrence Brannon <metap... at gmail.com> wrote:
>
> I like the approach of my own HTML::Seamstress --- object-oriented Perl
> and knowledge of an object-oriented tree-rewriting library is all you need:
> http://search.cpan.org/~tbone/HTML-Seamstress-5.0b/lib/HTML/Seamstres....

The Python equivalent to your list of templating systems can be found
here (under "Engines with Annotated Templates"):

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

I note that your list mentions XMLC which was probably one of the
first solutions I encountered employing the approach you describe. One
issue typically arises when using such solutions, however: trivial
modifications to the output document are convenient, but how do you
effectively manage situations where you need to modify or populate
large numbers of "slots" in the output document?

Paul



More information about the Python-list mailing list