Configuring the XML Generator component
XML Generator Configuration dialog box
Option | Description |
---|---|
Activate | This check box is present only in the XML Generator eConnector configuration window. Select this check box to make the component active. If this check box is not selected, the component won't perform any actions during file processing. |
XML template | Using fields in this group you can load an XML template that is used to generate the output XML file, view its structure and change the element and attribute values. |
Source | Select an XML template file. |
Properties | Select an element from the tree and click this button to set the
element's properties.
|
Generated XML document | This group contains the settings for the generated XML file. |
Pass through | This check box is present only in the XML Generator eConnector configuration window. Select this check box to make the XML document available to the subsequent components in the process. |
Output to | For XML Generator eConnector configuration, this element contains a check box and a field. When the check box is selected, the generated XML file will be routed to the specified output folder. If this check box is not selected, the Pass through check box is selected and disabled. Specify the destination for the generated XML file in the text box. For the Route component, this element contains only a text field in which you can specify the destination folder of the generated XML file. |
Rename schema | Select this check box to specify the file name for the generated XML
document to which it will be saved in the output folder. You can use RRT
to dynamically set the value of the schema. The .xml
extension will be set automatically to the generated document. If the Rename schema check box is not selected, the default schema is used: ~XMR::FileName1~counter.xml, where counter is a unique identifier based on the number of files with the same name in the working directory. For example, if the first original file is File.doc, the generated XML file will be File1.xml. If the component has no input documents, the default
name of the generated XML file will be
generatedXML1.xml.
If the Rename schema check box is selected and the schema name is not provided, then at run time the default schema is used: ~XMR::FileName1~_~XMR::Counter~.xml. For example, if the first original file name is File.tif, the renamed file will be File_1.xml. To capture the generated file name for following components, use the FileName and XMLFileName RRTs. |
Original documents | This group contains settings for the original documents. |
Pass through | This check box is present only in the XML Generator eConnector configuration window. Select this check box to make the XML document available to the subsequent components in the process. |
Output to | If this check box is selected, the original documents will be routed
to the specified output folder. Enter the destination folder in the text
field next to the check box. You can select or clear
the Pass through and Output
to check boxes in any combination for the original
documents. If the Pass through and
Output to options are not selected, the
original documents are eliminated from subsequent processing.
|
Rename schema | Select this check box to specify the file name for the original
document using the schema field. You can use RRT to dynamically set the
value of the schema. If the Rename schema check box is cleared, the original document name will be used. If the Rename schema check box is selected and the schema name is not provided, then at run time the default schema will be used: ~XMR::FileName~_~ XMR::Counter~~XMR::FileExt~. For example, if the input file name is File.tif, the renamed file will be File_1.tif.To capture the generated file name for following components, use the FileName and XMLFileName RRTs. |
Overwrite existing file | If this check box is selected, the component overwrites an existing file with the same name in the output directory. This option is related to both generated XML document and original documents. If this option is checked, both XML document and original documents are overwritten. Otherwise, if this option is unchecked, the presence of a file with the same name for the XML document or the original document will cause an error message and stop further processing for this file. |