Get Element Attribute
Gets element attribute from the input XML
Last updated
Gets element attribute from the input XML
Last updated
This activity retrieves the element attribute from the specified XML.
Input: Required
Input the XML.
XPath: Required
Input the XPath for the element of the attribute to be read.
Attribute : Required
Input the name of the attribute to be searched.
Index:
Specifies the index from which the attribute is to be retrieved. Used with Mode AtIndex
.
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.
Result: Stores the values of the specified attribute in the specified variable