skip to main content
ExecPython
 
urn:WebWorks-XSLT-Extension-ExecPython
Functions
XPathNodeIterator ExecutePyScriptInCommandLine (string commandLine)
Runs python with the specified commandLine.
XPathNodeIterator ExecPyScript (string pyScriptPath [, string argument1, string argument2, string argument3, string argument4, string argument5, string argument6, string argument7, string argument8, string argument9, string argument10, string argument11, string argument12, string argument13, string argument14, string argument15, string argument16, string argument17, string argument18, string argument19])
Runs python with the specified script with zero or more arguments using the current target's output directory as the working directory.
XPathNodeIterator ExecutePyScriptInDirectoryInCommandLine (string directoryPath, string commandLine)
Runs python with the specified script with zero or more arguments using the specified directory as the working directory.
XPathNodeIterator ExecPyScriptInDirectory (string directoryPath, string pyScriptPath [, string argument1, string argument2, string argument3, string argument4, string argument5, string argument6, string argument7, string argument8, string argument9, string argument10, string argument11, string argument12, string argument13, string argument14, string argument15, string argument16, string argument17, string argument18, string argument19])
Runs python with the specified script with zero or more arguments using the specified directory as the working directory.
 
Detailed Description
urn:WebWorks-XSLT-Extension-ExecPython
Allows XSL stylesheets to execute python programs and process results. Provides the return code, stdout, and stderr results from the running process.
<wwexec:Result version="1.0" retcode="-1">
  <wwexec:Stream name = "Output" >
    Standard output will show up here, aka stdout.
  </wwexec:Stream>
  <wwexec:Stream name = "Error" >
    Standard error will show up here, aka stderr.
  </wwexec:Stream>
</wwexec:Result>
 
Member Function Documentation
Was this helpful?
Last modified date: 10/14/2020