Document Properties Changer
This adapter reads and changes document properties of a so-called X4Document
used in the X4 ESB for process data exchange. Only the internally used document properties are changed, which may influence the execution of some adapters (but not XSL mappings). The actual data of the document remains unchanged.
Note:
To change the character encoding of the document data, use the Charset Changer . To convert characters of the document into another character encoding, use the Encoding Converter .
Also note: Changes in the character encoding made with the Document Properties Changer do not affect XSL transformations. If the document does not contain any XML declaration with a character encoding, UTF-8
will be used as default character encoding according to the XML specification.
Properties
Operation | Defines the operation executed by the adapter Possible values: |
Parameters
| Main adapter class (Do not change!) Possible values: |
| New MIME type of the X4Document Possible values: Any MIME type (e.g. |
| New character encoding of the Possible values: Any character encoding (e.g. |
| Removes the character encoding of the
If the
removeEncoding parameter is enabled, the encoding parameter must be empty.
|
Status values
1 | The adapter operation was executed successfully. |
-1 | An error occurred during the execution of the adapter. |