launch python file from an xml file



I was wondering if in an xml file I could launch a python file and based on what python returns run different parts of the xml code.


Something like


IN THE XML FILE:



  • run the python file

  • if the file retuns A, run the A code of this XML file

  • else run the B code of this XML file


thanks!


No comments:

Post a Comment