The convertdoc tool allows to execute XXE process commands from the command line, exactly as if these process commands were executed from XXE.
Just like XXE, the convertdoc command line tool scans directories for configurations and XML catalogs, loads image toolkit plug-ins, loads XSL-FO processor plug-ins, supports XInclude, etc.
Usage:
convertdoc -lor:
convertdoc ?-v? ?-t? ?XSLT_stylesheet_file_or_URL-p|-pu? ... ?XSLT_stylesheet_param_nameXSLT_stylesheet_param_value-p|-pu?XSLT_stylesheet_param_nameXSLT_stylesheet_param_valueprocess_command_namedoc_file_or_URL?-s|-u? ... ?process_command_arg-s|-u?process_command_arg
Converts XML document doc_file_or_URL using process command called process_command_name, found in any of the XXE configuration files scanned during the startup of convertdoc (see XMLmind XML Editor - Configuration and Deployment).
Options:
-lPrint XXE configuration (XXE configuration files but also XML catalogs, plug-ins, spell-checker dictionaries, CLASSPATH) and exit.
-vTurn verbosity on.
-dSets the debug attribute of the process command to value true (no matter what has been specified in the process element).
This prevents the process command from deleting its work directory (/tmp/xxe) at the end of the processing.NNNN/
-t XSLT_stylesheet_file_or_URLUse this alternate XSLT style sheet instead of the one specified in the first transform child element of the process command.
If specified process command has no transform child element but has subProcess child elements, these sub-processes are searched recursively for a transform child element.
-p|-pu XSLT_stylesheet_param_name XSLT_stylesheet_param_valueAdd/replace corresponding XSLT style sheet parameter in the first transform child element of the process command.
-pu is useful when the parameter value is a relative filename that needs to be converted to an absolute "file:" URL.
If specified process command has no transform child element but has subProcess child elements, these sub-processes are searched recursively for a transform child element.
-s|-u process_command_arg ... -s|-u process_command_argPass these arguments to the process command as the values of process variables %0, %1, ..., %9.
If -s (String) is specified, the argument is passed as is.
If -u (URL) is specified, the argument, a file or directory name, is first converted to an URL.