--- title: "InjectXmlDataIU" slug: "inject-xml-data-iu" updated: 2026-08-18T06:51:37Z published: 2026-08-18T06:51:37Z canonical: "docs.lobstersoftware.com/inject-xml-data-iu" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # InjectXmlDataIU | **Class name** | com.ebd.hub.datawizard.iu.InjectXmlDataIU | | --- | --- | This Integration Unit can be used to copy an XML element from an XML input file into a new destination file (template file). The Integration Unit always reads the backup file and can therefore also be used in a Profile without Mapping. ## Parameters | Parameter | Allowed values | Default value | Description | | --- | --- | --- | --- | | Template file | | | Path to template file (mandatory). | | XML element from source to include | | | Name of XML element from the source file to be copied and included in the template file. | ## Example Suppose a profile that acts as a web service has received a request, which consists of a SOAP envelope with the payload in the body, as shown below. The encoding of the request has to match the profile encoding. ```xml            ABC24              7654             ``` The root element of the payload data is **. To paste that payload into a template for the destination file, this template has to contain a placeholder *@INJECT_PAYLOAD@*. The class *InjectXmlDataIU* will now replace the placeholder with the payload data specified in the parameter *XML element from source to include*. To achieve that, use the following parameters. | Parameter | Value | | --- | --- | | Template file | | | XML element from source to include | n2:Request | If the XML element is repeated several times within the source data, the entire section between the first occurrence of the tag ** and the last occurrence of the tag ** will be inserted into the template. XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data. A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required. The core task of Phase 3. Mapping transfers data from the source structure to the target structure according to defined rules. In the process, fields can be transformed, functions can be called, and values can be calculated.