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 Argument Required The XML string where the new XML element is inserted.

  • Xpath: String Argument Required Input the Xpath of the element where the new XML element is to be inserted.

  • Index: Integer Argument 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.

Output

Last updated