VDPMill Job Tickets describe VDPMill jobs. The ticket contains information about input files, output formats, output directory, XSLT stylesheets and other information needed for the job to be processed. VDPMill Interactive and VDPMill Ticket GUI applications use this format to store/load projects.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.renderx.com/VDPMill/job/definition"
version="1.0"> (1)
<option name="inputfilescurrentdir" value="/home/user/DATA"/> (2)
<option name="log-file" value="/home/user/DATA/logfile.log"/>
<option name="log-level" value="info"/>
...
<input-files> (3)
<file path="/home/user/DATA/test1.xml"/> (4)
<file path="/home/user/DATA/test2.xml"/>
<file path="/home/user/DATA/test3.xml"/>
</input-files>
<xslt role="pre-split"
stylesheet="/home/user/DATA/stylesheets/barcode.xsl"/> (5)
<xslt role="post-split"
stylesheet="/home/user/DATA/styelsheets/statement2fo.xsl"/> (6)
<action name="split"> (7)
<option name="type" value="splitter1g"/> (8)
<option name="split-start-type" value="element"/>
<option name="start-point-namespace" value=""/>
<option name="start-point-name" value="statement-data"/>
<option name="split-point-type" value="element-count"/>
<option name="split-point-element-count" value="1"/>
</action>
<action name="format"/> (9)
<output directory="/home/user/DATA/output"> (10)
<option name="pdf:com.renderx.xep.COMPRESS" value="true"/> (11)
<option name="ps:com.renderx.xep.LANGUAGE_LEVEL" value="3"/>
<option name="afp:com.renderx.xep.USE_PTOCA_LEVEL" value="1"/>
<post-processing name="transpromo"/> (12)
<target format="pdf" separated="true"/> (13)
<target format="ps" separated="true"/>
<target format="ps" separated="false"/>
<target format="afp" separated="false"/>
</output>
</project>
|
| |
|---|
| (1) | Ticket root tag with version number |
| (2) | Ticket file options contain auxiliary information. These option elements are optional and do not affect document processing. |
| (3) | Input files list. Required element. |
| (4) | Input file path. Relative paths are resolved relative to the current working directory. Input files are processed in the order they are specified in the list of the input files. At least one input file is required. |
| (5) | XSLT transformation to be done before splitting. The path attribute specifies the file to load the XSLT stylesheet. Optional element. |
| (6) | XSLT transformation to be done after splitting. The path attribute specifies the file to load the XSLT stylesheet. Optional element. |
| (7) | Split action. Nested options elements define splitting parameters. Optional element. |
| (8) | Splitting options. The input files are split according to these options. Here a valid splitting options set is required. |
| (9) | Format action. Optional element. |
| (10) | Output parameters description. The directory attribute should point to an existing directory. Required element. |
| (11) | Output format generator options. Prefixes ("pdf:", "ps:", etc) describe the format the option is defined for. Optional element. |
| (12) | Post-processing definition. The name attribute points to the plugin which is loaded to apply the post-processing. Post-processing actions apply in the order they are specified in the ticket file. Nested option elements may appear to configure the defined post-processing action. |
| (13) | Output document generation targets. The format attribute specifies the output format. The ticket should contain output target specifiers for supported output formats only. The separated attribute specifies target type - separated (true) or joined (false). |