Get Element Attribute
Gets element attribute from the input XML
This activity retrieves the element attribute from the specified XML.
Input
Input:
String ArgumentRequiredInput the XML.XPath:
String ArgumentRequiredInput the XPath for the element of the attribute to be read.Attribute :
String ArgumentRequiredInput the name of the attribute to be searched.Index:
Integer ArgumentSpecifies the index from which the attribute is to be retrieved. Used with ModeAtIndex.Method : Select the method to retrieve the value. First selects the value from the first occurrence of the key. All retrieves all key values as a collection. These are the available options.
First- The first occurrence of the element of the specified attribute name is selected.AtIndex- The element of the specified attribute name at the specified index is selected.All- All the element values of the specified attribute are selected.
Output
Result:
String VariableStores the values of the specified attribute in the specified String variable
Last updated