Told to ChrisW on IRC: <mcdonc> ChrisW: i think you're going to need to drop down a level on the r.b.chameleon_genshi and replicate the problem in terms of raw chameleon
[11:50] <mcdonc> i don't know whether it should be possible to have <?python blocks in there or not [11:50] <mcdonc> and r.bfg.chameleon_genshi is just a tiny little wrapper around c.genshi [11:51] <mcdonc> usually if you create a patch in terms of the existing chameleon tests, malthe is happy to take a look at it and pass judgment On Wed, 2010-06-02 at 16:43 +0100, Chris Withers wrote: > Hi All, > > I'm attempting to get the attached .genshi template working with > repoze.bfg.chameleon_genshi. > > The problem appears to be the <?python block at the top. > > Yes, I know, that code should be in view methods, and that's what I'll > do as a work around. However, should it work? Works with normal stock > genshi... > > I currently get: > > ExpatError: Unable to parse document; no start-tag found.: line 1, column 1 > > cheers, > > Chris > > HTML document attachment (excel_table.genshi) > field > numeric > value > _______________________________________________ > Repoze-dev mailing list > Repoze-dev@lists.repoze.org > http://lists.repoze.org/listinfo/repoze-dev _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev