XML Transformer

The XML Transformer extracts metadata from a scanned document as XML data and converts it to another format (HTML, CSV, etc.) using a specified XSL file (XML stylesheet). Configure an XSL file (stylesheet for converting XML file) before completing this task. The XML Transformer converts only metadata and not the scanned document.

  • Supported formats (input data): The XML Transformer supports all formats compatible with the SLNX Scan & Capture.

  • Convertible formats (output data): The output data of the XML Transformer is generated in the same format as the input data or in either XML or Format with XSL file as the target.

As samples, use the XSL files stored in the [samples] folder  →  [StyleSheets] folder on the installation media.

For details about metadata format (XML format),refer to Categorize Documents with Metadata.

Configure the XML Transformer Connector Properties:

  1. In the Delivery Flow, click the [XML Transformer] connector icon.

  2. Specify the Display Name.

  3. In General Settings, configure the XSL file to use, the processing method of the conversion result file, and other settings:

  4. XSL File Path: Click [Browse] to select the XSL file to be used for the XML transformer connector. To apply the setting, click [Upload]. To download the XSL file, click [Download]. When you do not specify a XSL file, the original metadata (XML) is added to the document. Check that there is enough space available on the hard disk drive before downloading the file. You may not be able to open the downloaded file if the space is insufficient. You must save the XSL file to be used using UTF-8 for the character code. The XSL file must conform to the following specifications. Otherwise, the delivery flow will fail.
    • XSL Transformations (XSLT) version 1.0
    • XML Path Language (XPath) version 1.0
    • Upload a new XSL file to replace the existing XSL file. You cannot delete the XSL file from the process connector. To delete the file, delete the process connector from the delivery flow, and then add a new XML Transformer. When you click [Upload], the fixed file name of <desk.xls> always appears in the XSL file path display area instead of the name of the uploaded file.
  5. Conversion Result Save-in Location: Specify the location to add the information of the converted document. Select [First Page] to append add the conversion result to the first section in the document. Select [Last Page] to append add the conversion result to the last section in the document.
  6. Conversion Result File Name: Enter the file name of the conversion result. Be sure to enter an extension at the end.
    • If you leave this field blank, the current document name is used.
    • When a document name is not specified, the time stamp (local time) is used as the document name.Timestamp format: "yyyymmddhhmmss"(yyyy: year, mm: month, dd: day, hh: hours, mm: minutes, ss: seconds)
    • If you enter a period (.) for the first character in the file name, the extension of the input data is added behind the timestamp.
    • When the last character of the file name is a period (.), it is automatically replaced by an underscore ( ).
    • Do not use the following characters in the file name:\ : / * ? I " < > If you enter any of those characters, it is automatically replaced by an underscore ( ).
    • A file extension is not appended when an extension is not entered with the file name. Also, an extension is not appended when the user does not enter a file name.

  7. Select Character Encoding: Select a character code from the drop-down list. The supported character codes are as follows:
    • UTF-8

    • Latin-1

    • Windows Shift-JIS (Only in Japan)

    • JIS (Only in Japan)

    • In the workflows that process jobs on the device, the setting becomes invalid even when JIS is selected.

  8. Save the workflow.