--- title: "Control elements in the target structure for the XML creation" slug: "xml-control-elements" updated: 2026-08-18T09:36:13Z published: 2026-08-18T09:36:13Z canonical: "docs.lobstersoftware.com/xml-control-elements" --- > ## 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. # Control elements in the target structure for the XML creation There are several attributes in target structure nodes and fields, and reserved target structure field names that can be used to control the creation of the XML file. ## Attributes of target structure nodes - "XML Namespace": This attribute allows to assign an XML namespace to the element created from the node, e.g. *soapenv*. Additionally, the attribute allows defining this namespace, e.g. *soapenv=http://schemas.xmlsoap.org/soap/envelope/*. If no namespace is used, the value *DEFAULT* has to bet set. To define a default namespace (e.g. **) the value must be set as follows: *DEFAULT=http://tempuri.org/* - "XML/JSON handling": This attribute controls how a node is included in the XML document. The following settings are possible: - - *Normal*: The node will be fully output. - *Exclude*: The node will be ignored. - *Transparent*: The node itself will not create an element, but its content will. - *Array*: (This value is not relevant for this function.) - *Array* Transparent: (This value is not relevant for this function.) - "Maximum": If a Mapping creates several records, a node is generated multiple times over these records. If the node has the value *1* for the node attribute *Maximum*, the XML element corresponding to the node is **only generated once**. The fields of the multiple existing nodes are all listed below each other in the XML element. If this behaviour is not desired, simply use value *99999* instead of *1*. Here is a hinted example: ![images/download/attachments/201685806/XML_IU_Maximum-version-1-modificationdate-1749802314990-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/XML_IU_Maximum-version-1-modificationdate-1749802314990-api-v2.png) ## Attributes of target structure fields - "XML Namespace": This attribute allows to assign an XML namespace to the element created from the field, e.g. *soapenv*. Additionally, the attribute allows defining this namespace, e.g. *soapenv=http://schemas.xmlsoap.org/soap/envelope/*. If no namespace is used, the value *DEFAULT* has to bet set. ## Example for the target node setting "XML/JSON handling" Suppose you have the following target structure. ![images/download/attachments/201685806/141-version-1-modificationdate-1749802314989-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/141-version-1-modificationdate-1749802314989-api-v2.png) The node *root#1* is set in attribute *Root node name*. We will see the effects of several different settings for the XML handling attribute of the node *user#3*. The following XML files are the corresponding outputs to the given XML handling setting. ### Normal The node *user#3* and all of its fields are output. ```xml            name      given                      abc        ALL                    cde        ALL                    20131018             ``` ### Transparent The node *user#3* will not be output, but its fields. ```xml      name    given                  abc        ALL                    cde        ALL                    20131018             ``` ### Exclude The node *user#3* and all of its fields are not output. ```xml                    abc        ALL                    cde        ALL                    20131018             ``` 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. JSON (**J**ava**S**cript **O**bject **N**otation) is a lightweight text format for data exchange. The Lobster Data Platform handles JSON in integration profiles, web resources, and API interfaces. Value resolvers convert JSON data to internal objects and vice versa. 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.