Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82563
| Date | 2014-12-15 11:09 +0100 |
|---|---|
| Subject | Python {executable templates from XSLT, code generation tool} |
| From | Jean-Baptiste Braun <jbaptiste.braun@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16984.1418656772.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
Hi, I'm searching a tool to translate an xsl file to executable python code. I know how to execute xslt with python. What I want is to process my xslt rules *in* python. Example : <xsl:when test="gender = 'Male'"> Mr </xsl:when> <xsl:otherwise> Mrs </xsl:otherwise> I would like it to be translated in a python test statement. Does anyone know something like this ? Or at least a code generation tool ? I read about Cog and might use it. Jbb
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Python {executable templates from XSLT, code generation tool} Jean-Baptiste Braun <jbaptiste.braun@gmail.com> - 2014-12-15 11:09 +0100
csiph-web