On August 11, 2023, Cisco announced that Cisco SecureX will go end-of-life on July 31, 2024. The content in this Github repository will not be actively maintained following this announcement.

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).


Hints

  • 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.