Re: Mako --> Genshi
- From: "Diez B. Roggisch" <deets@xxxxxxxxxxxxx>
- Date: Sun, 31 Aug 2008 09:41:30 +0200
Chris Bab*** schrieb:
Is there a cheap way to convert Myghty/Mako templates to Kid/Genshi?
There's some code written for Pylons that I want to incorporate into a
TurboGears 2 project and Genshi templates are more likely to behave
themselves with the tools I'm used to.
Not that I'm aware of. And I think it's impossible to reliably do that, because mako allows broken XML or "pure" HTML, whereas KID/Genshi require well-formed XML.
Diez
.
- References:
- Mako --> Genshi
- From: Chris Bab***
- Mako --> Genshi
- Prev by Date: Re: Relative imports and "import X as Y"
- Next by Date: Re: Counting Elements in an xml file
- Previous by thread: Mako --> Genshi
- Index(es):