Link Search Menu Expand Document

XPath Query

Category: Core

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 Query activity can be configured to understand namespaces by adding them under the Namespaces section of its properties.

Sample Workflows

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.