XML attribute from path
Extract attribute from the provided XML path.
Example
<!-- Configuration -->
Path: /hello/country
Key: lang
<!-- XML node passed as input -->
<hello>
<country lang="fr">France</country>
</hello>
<!-- Output -->
fr
Parameters
Pathrequired
The path to the node from which you want to extract the attribute. See XML path.
Keyrequired
The attribute key you want to extract.
Skip if not found
If the attribute is not found — or its value cannot be parsed into the configured value type — the function will be skipped instead of failing.
Value typerequired
The expected value type from the extraction. See all types.
Input
required
The XML node to extract the attribute from.
Output
Value
The value extracted from the XML matching the configured value type.