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
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to