XML Generator Configuration dialog box

In the XML Generator Configuration dialog box you can load and view the structure of the XML template, set the values of the nodes, set the parameters of the output of the generated XML document and of the original routed documents.
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.
  • In order to change the value of an attribute, select the desired attribute in the template and click the Properties button. Attribute value can be changed in the opened Edit Attribute dialog box.
  • In order to multiply a node, select the required node and click the Properties button. The options of repeating one node within the parent node can be set up in the opened Multiply Node Block dialog box.
  • In order to change a node value, select the required node value and click the Properties button. The node value can be changed in the opened Edit Node Value dialog box.
    Note: You can't set the value of a node if it is not set in the template. In other words, you can only change a preset non-empty value of a node.
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.

Note: 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.

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.
Note: 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.

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.