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 FO processor plug-ins, supports XInclude, etc.
Note that convertdoc Standard Edition has exactly the same artificial restrictions than XXE Standard Edition: limited support of W3C XML Schemas, no support of FO processor (except XEP Trial Edition), image toolkit plug-ins cannot be used to convert on the fly between different image formats, etc.
Usage:
convertdoc -l
or:
convertdoc ?-v
? ?-t
? ?XSLT_stylesheet_file_or_URL
-p
? ... ?XSLT_stylesheet_param_name
XSLT_stylesheet_param_value
-p
?XSLT_stylesheet_param_name
XSLT_stylesheet_param_value
process_command_name
doc_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:
-l
Print XXE configuration (XXE configuration files but also XML catalogs, plug-ins, spell-checker dictionaries, CLASSPATH
) and exit.
-v
Turn verbosity on.
-t XSLT_stylesheet_file_or_URL
Use 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 XSLT_stylesheet_param_name
XSLT_stylesheet_param_value
Add/replace corresponding XSLT style sheet parameter 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.
-s
|-u process_command_arg
... -s
|-u process_command_arg
Pass 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.