I am starting to work on a project where I receive data in XML, which has to be translated into a text file that represents python to be executed.
I came across this:
and wonder what XSLT experts think about it. Any feedback would be very much appreciated. Many thanks in advance.
Producing a python script via XSLT is entirely possible.
textis one of the choices for the method (i.e. format) inxsl:outputYou use it in your stylesheet like this:
The above stylesheet produces the following Python script