Insert Element Value
Inserts an XML element to the given XML.
This activity inserts a new XML element to a user-specified XML input.
Input
Source:
String ArgumentRequiredThe XML string where the new XML element is inserted.Xpath:
String ArgumentRequiredInput the Xpath of the element where the new XML element is to be inserted.Index:
Integer ArgumentSpecifies the index from which the element is to be inserted. Used with ModeAtIndex.Mode: The element insertion mode.
First(default)- The new element is inserted at the first occurrence of the specified elementAtIndex- The new element is inserted at a specified indexAll- 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.
Output
Result:
String VariableStores the XML string after the element insertion.
Last updated