X4 Help Center
7.5 7.4 German English
Auto Light Dark
Auto Light Dark
7.5 7.4 German English

XML Formatter (deprecated)

The adapter provides formatting functions for XML documents, e.g. indents and line breaks.

Properties

Operation

Defines the operation executed by the adapter

Possible values:

  • PrettyPrint: Format XML document

Parameters

Adapter

Main adapter class (do not change!)

Possible values: de.softproject.integration.adapter.xmlformatter.XMLFormatterAdapter: Main class (default)

indentSize

Number of indents within the XML document

Possible values: Any integer value, e.g. 4

Status values

1 (successful)

The request was successful and a result was returned

-1 (failed)

The request failed due to a technical error

Input

The adapter expects an unformatted XML document as input.

Output

The adapter outputs a formatted XML document.