Skip to main content

Add to XML node

Build an XML element with optional inner content, child elements and attributes.

Parameters

Node namerequired

Name of your XML node. It also accepts a /-separated path: the leading segments become wrapping parent elements around the built node (for example invoice/header produces <invoice><header/></invoice>).

Has inner value

If enabled, the node exposes an input whose value becomes the element's inner content. An atomic input (string, number, boolean, date...) becomes the element's text content; an XML input (or an array of XML nodes) is nested as child node(s). Mixing atomic and XML inputs on the same execution fails the node (XMLValueAndChildrenNotAllowed).

Example
<!-- Has inner value = enabled, string input "France" -->
<XML_node>France</XML_node>

<!-- Has inner value = disabled -->
<XML_node />
XML Children

List of child elements nested under the XML node.

Namerequired

The child element name. A /-separated name builds a nested chain in one row (for example address/city produces <address><city>…</city></address>).

Value typerequired

The type of the child's value. Any value type is accepted: an atomic value becomes the child's text content, an XML value (or an array of XML nodes) is nested under the child.

Dynamic

Enabled by default. If enabled, the child gets a dedicated input connector on the node function; if disabled, the static Value is used as the child's text content.

Value (if static)
The static text content of the child if the Dynamic parameter is disabled.
XML attributes

List of attributes of the XML node.

Namerequired
The attribute name.
Value typerequired

The type of the attribute's value. Unlike children, attributes are restricted to atomic types (no XML, array or object).

Dynamic
Enabled by default. If enabled, the attribute will appear as an input of the node function.
Value (if static)
The static value of the attribute if the Dynamic parameter is disabled.

Input

node inner value

Present and required when Has inner value is enabled. Accepts any atomic type or XML; when children are also configured, this input only accepts XML.

Child values

One required input connector per dynamic child (see XML Children parameter).

Attribute values

One required input connector per dynamic attribute, in the attribute's atomic type (see XML attributes parameter).

Output

XML Node
Generated XML node