Skip to main content
Version: 5.3

XML/XPath Transfer Object

XML transfer objects are available as sources and destinations. XPath queries allow elements to be extracted from XML files or written to XML files. A plug-in configuration is not necessary, you can directly configure the transfer object within the connection as described.

After double-clicking on the transfer object, set the following properties:

Section: X-Path Elements

NameName where the query appears in the transfer object.
X-Path ExpressionValid X-Path query, in the simplest case the path to the node (see below).
XML ModeIndicates if only the content of the query result or the enclosing tag will be output (e.g. Heinrich Mann or <author>Heinrich Mann</author>. When writing to the object (Create XML), only content must always be specified because the structure is already established. By writing at the object (create XML), only content must always be specified because the structure is already established.

X-Path Placeholder

Name of parameterName of the parameter
Default valueDefault value of the placeholder

Section: Namespaces and Prefixes

PrefixesUnique prefix
NamespaceNamespace

When importing the XML code at design time, all existing namespaces are entered. Use the checkbox to mark the namespace that should be used as the default for the XPath queries. If a standard is defined, formulate the X-Path queries without a prefix, this will be added automatically. In the source code, you have to specify the prefixes always,.

Section: XML Code

The multiline field is for entering XML code. At design time you can use it to check your X-Path expressions. Then you can delete the code if you dynamically pass the XML code at runtime (transfer object as source) or first generate (transfer object as destination). Of course, you can also leave static code here if that meets your requirement.