Delete Attribute

Deletes an element attribute.

This activity deletes a specified element attribute from the given XML.

Input

  • Input: String Argument Required Input the XML.

  • XPath: String Argument Required Input the XPath for the element of the attribute to be deleted.

  • Attribute Name: String Argument Required Input the name of the attribute to be deleted.

  • Index: Integer Argument Specifies the index from which the attribute is to be deleted. Used with Delete FromAtIndex.

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

    • First - Deletes the first occurrence of the element of the specified attribute.

    • AtIndex - Deletes the element of the specified attribute at the specified index.

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

Output

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

Last updated