EXECUTE builds a command line which runs a program.
The program – an EscapeE 'Plugin' or other external 'DLL' or 'EXE' program – is specified in the PLUGIN attribute, for example
<EXECUTE PLUGIN = "FRED.EXE" />
Further options may be added to the command line using the PARAM attribute. For example
<EXECUTE PLUGIN = "IDFPLUGIN" PARAM="OPTION1 OPTION2">
Here are the results:
The EXECUTE command creates a temporary file (with a name such as EETMP12345678) in which it can store the contents, including any sub-tags. (In the example above, the body text Here are the results.) This command-line is then executed, calling IDFPLUGIN program:
IDFPLUGIN EETMP12345678.XML OPTION1 OPTION2
The files must reside in the EscapeE plugins folder.
If ENCODING is set to BASE64 (for binary data) and there are no sub-tags then the body text is decoded as base 64; otherwise it is written as it appears.