XMLTRANS Workflow Application

Overview

The XMLTRANS workflow application transforms any XML document to any kind of other format using an XSLT sheet.

How it works

The WorkflowGen engine calls the XMLTRANS application with the context and the parameters. XMLTRANS uses the context and the parameters to get the following:

  • An XML file to convert

  • An XSLT file to convert the XML file to any kind of output

  • A RESULT parameter to receive the output

  • A RESULT_FILEEXT parameter to know the extension of the output

  • A RESULT_MIMETYPE parameter to know the MIME type of the output

After XMLTRANS gathers this information, it’s ready to make the transformation, and then returns the context to WorkflowGen so that the workflow can continue.

Possible execution errors

The following errors can occur during the execution of the transactions:

Code

Description

1

The XML required field is missing

2

The RESULT required field is missing

3

The XSLT required field is missing

4

The XML file is not a valid XML document

5

The XSLT file was not found

6

The XML file was not found

7

Cannnot write the output to the RESULT parameter. Verify that the folder security settings are correct.

8

Cannnot read the XML file. Verify that the folder security settings are correct.

9

The XSLT file is not a valid XSLT transformation style sheet

10

The received context was not valid

11

If RESULT_FILEEXT or RESULT_MIMETYPE is given, the other one must be given too

Last updated