Get Element Attribute
Gets element attribute from the input XML
This activity retrieves the element attribute from the specified XML.
Input
Input:
String Argument
Required
Input the XML.XPath:
String Argument
Required
Input the XPath for the element of the attribute to be read.Attribute :
String Argument
Required
Input the name of the attribute to be searched.Index:
Integer Argument
Specifies 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 Variable
Stores the values of the specified attribute in the specified String variable
Last updated