Using chameleon.genshi in tg2
===================================