Delete Element

Deletes XML element.

This activity deletes a specific XML element from the given XML

Input

  • Input: String Argument Required Input the XML.

  • Location: String Argument Required Input the location of the element to be deleted.

  • Index: Integer Argument Specifies the index from which the element is to be deleted. Used with Mode AtIndex.

  • Mode: Select the method where the element is to be deleted. These are the available options.

    • First(default) - Deletes the first occurrence of a specified XML element

    • AtIndex - Deletes the occurrence of the specified XML element at the specified index.

    • All - Deletes all the occurrences of the specified XML element.

Output

  • Result: String Variable Stores the updated the XML after the element deletion in the specified String variable

Last updated