# XSL pipeline

### Description

The `XSL pipeline` action transforms XML documents into other documents (XML or other format, such as HTML or plain text) using Extensible Stylesheet Language Transformations or [XSLT](http://en.wikipedia.org/wiki/XSLT).

The original document is not changed; rather, a new document is created based on the content of the XML file.

### Options

#### General tab

| Option                             | Description                                                                                                                                                                                                                                                                                               |
| ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Action name                        | The name of the workflow action.                                                                                                                                                                                                                                                                          |
| Files                              |                                                                                                                                                                                                                                                                                                           |
| Get filenames from previous result | When this option is checked, the XML File name, XSL File name and Output File name are read from the previous result set. When multilpe rows exists, it will loop. At this time XML File name is the first field in the result set, XSL File name the second fields and Output File name the third field. |
| XML File name                      | The full name of the source XML file                                                                                                                                                                                                                                                                      |
| XSL File name                      | The full name of the XSL file                                                                                                                                                                                                                                                                             |
| Output File name                   | The full name of the created document (result of XSL transformation)                                                                                                                                                                                                                                      |
| Settings                           |                                                                                                                                                                                                                                                                                                           |
| Transformer Factory                | You can select JAXP or SAXON as the transformer factory.                                                                                                                                                                                                                                                  |
| If file exists                     | <p>Define the behavior when an output file with the same name exists. The available options are:</p><ul><li>Create new with unique name : a new output file will be created</li><li>Do nothing : nothing will be done</li><li>Fail : the workflow will fail</li></ul>                                     |
| Add files to result files name     | Add the target file names to the list of result files of this workflow action for use in the next workflow actions.                                                                                                                                                                                       |

#### Advanced tab <a href="#advanced_tab" id="advanced_tab"></a>

| Option            | Description                                                                                                                                                                                                                                                                           |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Output properties | <p>A table with possible properties for the output of the XSL pipeline. The options are:</p><ul><li>method</li><li>version</li><li>encoding</li><li>standalone</li><li>indent</li><li>omit-xml-declaration</li><li>doctype-public</li><li>doctype-system</li><li>media-type</li></ul> |
| Parameters        | a list of parameter names and values to pass to the XSL pipeline                                                                                                                                                                                                                      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/xslt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
