Delete Attribute
Deletes an element attribute.
This activity deletes a specified element attribute from the given XML.
Input
Input:
String ArgumentRequiredInput the XML.XPath:
String ArgumentRequiredInput the XPath for the element of the attribute to be deleted.Attribute Name:
String ArgumentRequiredInput the name of the attribute to be deleted.Index:
Integer ArgumentSpecifies 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 VariableStores the updated the XML after the attribute deletion in the specified String variable
Last updated