On Tue, Sep 29, 2009 at 7:36 PM, Iain Duncan <[email protected]> wrote:
>
>
>> To be more precise: chameleon.genshi implements the Genshi XML template
>> syntax as described in
>> http://genshi.edgewall.org/wiki/Documentation/0.5.x/xml-templates.html .
>> <?python> is not a part of that syntax.
>>
>> That tutorial does not work due to a limitation chameleon.genshi
>> currently has: match templates defined in included templates are not
>> applied to the calling document. That is documented at
>> http://pypi.python.org/pypi/chameleon.genshi. If enough people ask
>> Malthe if he can add support for that might be fixed :)
>
> Sorry if I'm being dumb here, but I'm confused by the above. Does this
> mean that one can't use a master and derived templates setup with match
> templates? That would seem to be a big limitation, but maybe I am doing
> this wrong. Can you tell me how you handle template inheritance or
> master templates with chameleon.genshi?
>
> thanks
> Iain
>
>

That's what I took it to mean.

Another way to get the same effect is to use something like
deliverance or repoze.tempita which is why I wasn't too worried about
it.

http://svn.repoze.org/repoze.tempita/trunk/README.txt
http://www.coactivate.org/projects/deliverance/introduction

Though I'm wondering now whether the overhead of either of these 2
would eliminate any gains   from chameleon.genshi over straight genshi


-- 
Thomas G. Willis

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to