<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I'm searching a tool to translate an xsl file to executable python code.<br><br></div>I know how to execute xslt with python. What I want is to process my xslt rules <b>in</b> python.<br><br></div>Example :<br><span class=""><xsl:when test="gender = 'Male'">   Mr 
</xsl:when><br><xsl:otherwise>    Mrs </xsl:otherwise><br><br>I 
would like it to be translated in a python test statement.<br><br></span></div><span class="">Does anyone know something like this ? Or at least a code generation tool ? I read about Cog and might use it.<br><br></span></div><span class="">Jbb<br></span></div>