Adapter for File System (XSLT) activity

This activity exports data from XBOUND to a file system. This export procedure can be flexibly configured using an XSLT script. You can choose between a standard, default XML export and a generic export. In the latter case, you select your own XSLT script.

If for some reason you need to add this activity to the Process Designer, the file to add is xboundActGenericXSLTExport.dll.

The following settings are available when configuring a process step of this activity type.

Standard XML export

Uses a built-in XSLT script.

Generic media and data export via XSLT transformation

Uses your specified XSLT script.

Settings for both export methods

Export directory

The base folder for all relative paths, which you specify in the remaining configuration settings. If you do not specify a directory, the local temporary directory is used.

XPath search expression

Optional: Specify an XPath search expression to select XBOUND objects (documents, media, fields) for exporting. The XSL transformation is called for each object found by this expression to produce an export file.

Process canceled media, too

Select if you want to process canceled media.

Create trigger file

Select this option if you want to create a trigger file when exporting.

Path

Specify where to create the trigger file. If you do not specify a directory, the export path of the root document is used.

Busy

Extension that the trigger file has while exporting.

Error

Extension that the trigger file has if an error occurred during export.

Ready

Extension that the trigger file has when the export has finished successfully.

Test export as raw XML

 

Test export

Creates an XML file from the root document to use as input to the XSLT.

Tests the export function using the available root document.

These options are enabled if a root document is available and ready for processing in the current process step.

If no root document is available:

  1. Save and activate the process.

  2. Using the Process Monitor, disable the Adapter for File System (XSLT) process step.

  3. Feed documents into the process so that they reach the Adapter for File System (XSLT) step and wait there.

Settings for Standard XML export

Export all XML data

Exports the XSLT result as a file.

Export all media

Exports all media.

Settings specific for Generic media and data export via XSLT transformation

XSLT transformation script

Import – Opens a dialog where you can select the XSLT script to use. If you do not select one, the built-in standard script is used.

Reset – Unloads the XSLT script.

Edit – Opens the XSLT Script Editor, where you can edit scripts and XSD schemas, as well as load additional scripts.

Check XML output against XSD schema

Import – Opens a dialog where you can select the XSD file that contains the XML schema against which you want to check the generated XML file. If you do not select an XSD file, checking is deactivated.

Reset – Unloads the XSD.

Edit – Opens the XSLT Script Editor, where you can edit scripts and XSD schemas, as well as load additional scripts.

Directory for temporary files

Can be used within the XSLT script via the tempDir parameter.

If you do not specify anything, this parameter is set to the export directory (see under "Settings for both export methods" above).

Use existing XML media files for transformation

The content of media with XML format will be directly built into the XML instance that is to be transformed.

Append to existing export file

Appends the new transformation result to the export file, if it already exists. This can be useful if you are writing a statistics file with one line per root document, for example.

If you do not select this option, an existing export file is overwritten.

Append output data as new medium to the document

Appends the transformation result as new medium to the root document. Select a document type for the new medium.

These settings are also available:

Import button

Imports settings from an XML file that was previously created using Export.

Export button

Exports the settings to an XML file. Specify the file name and location. You can then import the XML file to get the same settings. See Exporting and importing process step settings.

Check regular expression link

Opens a test form, where you can (when applicable) check a regular expression.

XBOUND activities: Overview

Process Designer plug-in

XML batch structure

XSLT extension functions

XSLT file