Insert Element Value
Inserts an XML element to the given XML.
Last updated
Inserts an XML element to the given XML.
Last updated
This activity inserts a new XML element to a user-specified XML input.
Source: Required
The XML string where the new XML element is inserted.
Xpath: Required
Input the Xpath of the element where the new XML element is to be inserted.
Index:
Specifies the index from which the element is to be inserted. Used with Mode AtIndex
.
Mode: The element insertion mode.
First(default)
- The new element is inserted at the first occurrence of the specified element
AtIndex
- The new element is inserted at a specified index
All
- The new element is inserted at every occurrence of the specified element.
Node Insertion Method: The element insertion method.
InsertAfter(default)
- The element is inserted after the first node in the list of selected nodes.
InsertBefore
- The element is inserted after every selected nodes.
Result: Stores the XML string after the element insertion.