Jean-Michel Pichavant <jeanmic...@sequans.com> wrote: > >I'm trying to generate C++ code from an XML file. I'd like to use a template >engine, which imo produce something readable and maintainable. >My google search about this subject has been quite unsuccessful, I've been >redirected to template engine specific to html mostly. > >Does anybody knows a python template engine for generating C++ code ?
I'm a big fan of Cheetah. It's simple but flexible enough to be useful. Besides the many web projects I've done with it, I also I use it in one project to generate PHP code (it generates data access objects from a live database schema). -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list