This activity allows you to easily extract information from an XML-formatted string. Instead of having to use complicated regular expression to parse XML, you can use an XPath to traverse the XML’s structure and extract the data you want. These paths can be simple (
/root/someProperty) or complex (
/root/row[username = 'ehowell']/email).
- Some XML contains namespaces to help describe the content. The
XPath Queryactivity can be configured to understand namespaces by adding them under the
Namespacessection of its properties.
The following sample workflows are available in our repository’s workflows folder to help you get familiar with this activity. These can be imported using the instructions here or you can view the workflow in GitHub by clicking on it.